Since Q2 2014 the RadTreeView can be bound to RadClientDataSource control.
This functionality is provided out of the box through the server-side ClientDataSourceID property.
RadTreeView needs the following properties in order to load its items properly:
- DataFieldID—defines the data source field name which will be associated with the unique identifier of the node.
- DataFieldParentID—defines the data source field name which will be associated with the parent ID of the node.
- DataText—defines the data source field name which will be shown as a text of the node.
- DataValue—defines the data source field name which will be considered as a value of the node.
Note: The web service returns more than collection and OnDataRequested event is used to specify which one should be processed by the client data source control.