This example shows how to codelessly bind RadTreeView to EntityDataSource. Since
the EntityDataSource is not hierarchical by nature you need to set the DataFieldID
and DataFieldParentID properties:
<telerik:RadDropDownTree runat="server" ID="RadDropDownTree1"
DataSourceID="EntityDataSource1" DataTextField="Text"
DataFieldID="id" DataFieldParentID="parentId" >
</telerik:RadDropDownTree>
<asp:EntityDataSource runat="server" ID="EntityDataSource1"
ConnectionString="name=TelerikReadWriteEntities"
DefaultContainerName="TelerikReadWriteEntities" EntitySetName="Links">
</asp:EntityDataSource>
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.