Export (0) Print
Expand All

TreeView Events

The TreeView type exposes the following members.

  NameDescription
Public event DataBinding Occurs when the server control binds to a data source. (Inherited from Control.)
Public event DataBound Occurs after the server control binds to a data source. (Inherited from BaseDataBoundControl.)
Public event Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.)
Public event Init Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.)
Public event Load Occurs when the server control is loaded into the Page object. (Inherited from Control.)
Public event PreRender Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.)
Public event SelectedNodeChanged Occurs when a node is selected in the TreeView control.
Public event TreeNodeCheckChanged Occurs when a check box in the TreeView control changes state between posts to the server.
Public event TreeNodeCollapsed Occurs when a node is collapsed in the TreeView control.
Public event TreeNodeDataBound Occurs when a data item is bound to a node in the TreeView control.
Public event TreeNodeExpanded Occurs when a node is expanded in the TreeView control.
Public event TreeNodePopulate Occurs when a node with its PopulateOnDemand property set to true is expanded in the TreeView control.
Public event Unload Occurs when the server control is unloaded from memory. (Inherited from Control.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft