Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Display Hierarchical Data

 Page Title
CollapseGeneral Information
 ExpandNews
 ExpandAbout Us
CollapseClient Services
 ExpandBuy and Download
 ExpandGet Support
CollapseOur Products
 ExpandSubscriptions / Packs
 Expand.NET Windows Forms
 ExpandASP.NET Products
 ExpandVCL Product Line
 ExpandIDE Productivity Tools
 ExpandBusiness App Frameworks
 ExpandActiveX Product Line

The DevExpress ASP.NET Tree List (ASPxTreeList) supports web hierarchical data sources such as XmlDataSource and SiteMapDataSource. All you have to do is assign the required data source to the ASPxTreeList's DataSource property, or specify its DatasourceID property.

In this demo, the ASPxTreeList is bound to an XmlDataSource object. Use the expand and collapse buttons, or double click a node (the action is specified by the ExpandCollapseAction property), to expand and collapse the node.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxTreeListDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxTreeListDemos