Data Binding

Settings
Description

C1TreeView supports data binding – you can bind to an XML or SiteMap data source, or you can read data from any data source and create the C1TreeView hierarchy dynamically.

The following properties are used in this sample to bind C1TreeView to a data source.

  • DataSourceID - to specify the data source to be bound.
  • C1TreeViewNodeBinding - to determine the mapping relationship of the attributes in XmlDataSource and the data field of C1TreeView.
Documentation