Populates a group of tree nodes only when the parent node is expanded.
[Visual Basic]
Public Property PopulateOnDemand As
Boolean
[C#]
public
Boolean PopulateOnDemand {get; set;}
Remarks
By default, this property is false.
This property improves user experience when there is a large amount of nodes need to be populated. TreeView displays top level nodes and populates child nodes whenever its parent is expanded.
Note The viewstate of the populated tree node is not always retained. If you need to use viewstate, please turn off this feature.
See Also
TreeNode Class | EO.Web Namespace