Tree List - Data Binding Data Binding to XML

 Page Title
CollapseGeneral Information
 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

This demo illustrates how the BindToXML method can be used to populate the TreeList with node information taken from an XML file. The source XML file contains hierarchical information about a set of website pages.

The MVC TreeList can be bound to an XML file with the following data binding methods:

  • BindToXML(string fileName);
  • BindToXML(string fileName, string xPath);
  • BindToXML(string fileName, string xPath, string transformFileName);

In this demo, a column is added to the tree list. This column FieldName property value defines a name of the corresponding data source field.

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.