ESRI.ArcGIS.ADF.Web.UI.WebControls
NodePageChanged Event
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : NodePageChanged Event




Event that is called when a node page is changed on the tree.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Fires when the next or previous set of nodes are displayed when the number of nodes exceeds one page.")>
Public Event NodePageChanged() As TreeViewPlusNodePageChangedEventHandler
Visual Basic (Usage)Copy Code
Dim instance As TreeViewPlus
Dim handler As TreeViewPlusNodePageChangedEventHandler
 
AddHandler instance.NodePageChanged, handler
C# 
[ResDescriptionAttribute("Fires when the next or previous set of nodes are displayed when the number of nodes exceeds one page.")]
public event TreeViewPlusNodePageChangedEventHandler NodePageChanged()

Event Data

The event handler receives an argument of type TreeViewPlusNodePageChangedEventArgs containing data related to this event. The following TreeViewPlusNodePageChangedEventArgs properties provide information specific to this event.

PropertyDescription
NewPage Index of the new page displayed as a result of the event.
Node The TreeViewPlusNode at which the page was changed.
OldPage Index of the previous page that was displayed before the event.

Remarks

You can use this event to run cause a method to run whenever the user goes to the next or previous sets of nodes on the tree. Paging is available when the number of nodes within a tree (or node) exceeds the PageSize for the control.

See Also

© 2010 All Rights Reserved.