I am trying to create an hierarchical menu using RadPanelBar and Database data
Here are some sample data of my table:
CmaNodeId ParentID ValueText
1 null Text1
2 1 Text2
3 1 Text3
4 null Text4
5 4 Text5
These data are supposed to create something like this:
Text1
Text2
Text3
Text4
Text5
Instead i get a
Text1
Text2
Text3
Text4
Text5
all nodes becoming parent
Anyone has an idea what i am doing wrong is something so simple?
Thanks in advance
Here are some sample data of my table:
CmaNodeId ParentID ValueText
1 null Text1
2 1 Text2
3 1 Text3
4 null Text4
5 4 Text5
These data are supposed to create something like this:
Text1
Text2
Text3
Text4
Text5
Instead i get a
Text1
Text2
Text3
Text4
Text5
all nodes becoming parent
<telerik:radpanelbar id="RadPanelBar1" runat="server" DataSourceID="LLBLGenProDataSource2_2" |
skin="Black" ExpandMode="FullExpandedItem" |
DataFieldID="CmaNodeId" |
DataFieldParentID="ParentId" |
DataTextField="ValueText"> |
Anyone has an idea what i am doing wrong is something so simple?
Thanks in advance