Flexible Data Binding
ASPxTreeList can display information as a tree or grid - either in a data-bound or unbound mode. It supports any standard data source type including: SqlDataSource, ObjectDataSource, XmlDataSource, AccessDataSource, SiteMapDataSource. ASPxTreeList can also be bound to any object that represents a tree structure, and can also manually create a tree in code.
To ensure that your data can be easily displayed within ASPxTreeList, we provide the following data binding options:
Unbound Mode
You can build the desired tree structure in code using specially designed methods.

Show Demo
Bind to a Hierarchical Data Source
If you bind to a hierarchical data source, such as XmlDataSource or SiteMapDataSource, the control will automatically build a corresponding tree. All you have to do is to specify the required data source for the ASPxTreeList control.

Show Demo
Bind to a Standard Data Source
When binding to a standard data source, you need to have two service fields to build a tree. One should specify a record's unique ID and the other should specify the parent record's ID.

Show Demo
Dynamic Node Loading - Virtual Mode
Per your choosing, you can populate only root-level nodes within the tree. Attempts to expand parent nodes with children will raise an event wherein you can specify the child nodes to be displayed. This approach offers significant performance gains against large datasets.

Show Demo
|