Change Theme Settings
Change Theme Settings
Show All Themes

Virtual Mode

 File nameCreation Date
ExpandAccessibility3/12/2019 11:47 AM
ExpandAppearance3/12/2019 11:47 AM
ExpandContent3/12/2019 11:53 AM
ExpandCustomization3/12/2019 11:54 AM
ExpandData3/12/2019 11:54 AM
ExpandEditing3/12/2019 11:54 AM
ExpandExport3/12/2019 11:55 AM
ExpandFiltering3/12/2019 11:55 AM
ExpandScripts3/12/2019 11:55 AM
ExpandSelection3/12/2019 11:55 AM
ExpandShaping3/12/2019 11:56 AM
ExpandSummary3/12/2019 11:56 AM
ExpandUserControls3/12/2019 11:56 AM
 Default.aspx3/12/2019 8:15 AM
 Error404.aspx3/12/2019 8:15 AM
 Error500.aspx3/12/2019 8:15 AM
 Global.asax3/12/2019 8:15 AM
 Overview.aspx3/12/2019 8:15 AM
 PrecompiledApp.config3/12/2019 8:15 AM
 web.config3/12/2019 8:15 AM

In addition to bound and unbound modes, the DevExpress ASP.NET Tree List (ASPxTreeList) can operate in Virtual Mode. This mode is useful when binding to large data sets.

In virtual mode, a tree is created on demand. In this case, child nodes are created and initialized when the parent node is expanded.

The ASPxTreeList fires the following two events, which you should process in code.

Within the VirtualModeCreateChildren event handler, create a list of business objects that correspond to the child nodes owned by the processed node.

The VirtualModeNodeCreating event is raised for each node object created within the VirtualModeCreateChildren event handler. This event enables you to initialize the corresponding node in a tree. Here, you should specify the node's key value and cell values. If you are certain that the processed node has no child nodes, set the event parameter's e.IsLeaf property to true.

In the demo, the ASPxTreeList control uses this data binding method to display the file/folder tree of this demo web site.