ASP.NET Tree List

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.

Unbound Mode - ASP.NET Tree List Control | DevExpress

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.

Bind to a Hierarchical Data Source - ASP.NET Tree List Control | DevExpress

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.

Bind to a Standard Data Source - ASP.NET Tree List Control | DevExpress

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.

Dynamic Node Loading - Virtual Mode - ASP.NET Tree List Control | DevExpress

Show Demo

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.