Tree List - Data Binding Virtual Mode

 File nameCreation Date
ExpandCode8/3/2017 5:01 AM
ExpandContent8/3/2017 5:01 AM
ExpandControllers8/3/2017 5:01 AM
ExpandModels8/3/2017 5:01 AM
ExpandProperties8/3/2017 5:01 AM
ExpandScripts8/3/2017 5:01 AM
ExpandViews8/3/2017 5:01 AM
 Global.asax8/3/2017 12:01 AM
 Global.asax.cs8/3/2017 12:01 AM
 packages.config8/3/2017 12:01 AM
 PrecompiledApp.config8/3/2017 12:01 AM
 Web.config8/3/2017 12:01 AM

In addition to bound and unbound modes, the TreeList extension can operate in a Virtual Mode, which greatly reduces both the server load and start-up time when working with complex or dynamically created data. In a virtual mode, a tree is created on demand. In this instance, child nodes are created and initialized when their parent node is expanded.

To implement a virtual mode for the TreeList extension, a specifically parameterized BindToVirtualData method can be used. The method's parameters refer to delegate methods that can be declared as static methods within a model class. Within the first delegate method, create a list of business objects that correspond to the child nodes owned by the processed node. The second one enables you to specify the node's key value and cell values.

In this demo, the TreeList extension uses this data binding method to display the file/folder tree of this demo's website.

Version: v2017 vol 1.7
Copyright © 2006-2017 Developer Express Inc
Your Next Great MVC App Starts Here

Get started today and download your 30-day trial of DevExpress MVC Extensions (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress MVC distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress MVC Extensions ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.