This example illustrates how automatic insert, update and delete data operations can be achieved with RadTreeList and all ASP 3.5 DataSource control types like EntityDataSource:
What you need to do is to set the following properties:
- DataSourceID property of the RadTreeList to the ID of the Data Source control
- EnableUpdate, EnableInsert, EnableDelete properties of the Data Source control to true
- DataKeyNames and ParentDataKeyNames properties of RadTreeList by listing the data source table Primary keys
The RadTreelist control expects the key to be incremented when you insert items, therefore the new items are located at the bottom of the group.
You may also see how to utilize Telerik OpenAccess ORM as a data access layer for our AJAX controls by visiting the OpenAccess ORM live demos here.