Hi,
I am using RadTreeList and have data source with hierarchical data.
Data binding is done in NeedDataSource event handler.
Code example:
<telerik:RadTreeList RenderMode="Lightweight" ID="TreeListTrendsList" runat="server"
ParentDataKeyNames="DIM_LIST_ID_PARENT" DataKeyNames="DIM_LIST_ID" AllowPaging="true"
AutoGenerateColumns="false" AllowSorting="true" ExpandCollapseMode="Client" PageSize="150"
OnItemDataBound="TreeListTrendsList_ItemDataBound" OnNeedDataSource="TreeListTrendsList_NeedDataSource">
So, the DataKeyNames=DIM_LIST_ID and ParentDataKeyNames=DIM_LIST_ID_PARENT. Data source has ~100 records with DIM_LIST_ID_PARENT=0 and I expected to see them as top level nodes, but for some reason I see only single parent node (with DIM_LIST_ID_PARENT=0, DIM_LIST_ID=1).
Could somebody please suggest how to achieve the required behavior?