TreeNodeSelectAction Enumeration
Represents the event or events to raise when a node in the TreeView control is selected.
Assembly: System.Web (in System.Web.dll)
| Member name | Description | |
|---|---|---|
| Select | Raises the SelectedNodeChanged event when a node is selected. | |
| Expand | Raises the TreeNodeExpanded event when a node is selected. | |
| SelectExpand | Raises both the SelectedNodeChanged and TreeNodeExpanded events when a node is selected. | |
| None | Raises no events when a node is selected. |
When the NavigateUrl property for a TreeNode control is set to a value other than an empty string (""), clicking the node navigates to the specified URL. If the NavigateUrl property is set to an empty string, clicking the node causes a postback. The SelectAction property determines the events to raise on the postback. By default, the Select event is raised. No events are raised if the NavigateUrl property is set.
Note: |
|---|
The HoverNodeStyle property is not rendered for a node with its SelectAction property set to the None value. |
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note: