Hi,
I have a Rad tree view bound to a dataset. When page loads, i want to display the tree view with the first leaf node in the tree structure. for Eg:
Consider tree has the following structure:
A:-
A1:-
A11:-
A111
A112
A113
A12:-
A121
A122
A13
A2:-
A21:-
A211
A212:-
A2121
A22
A3
B:-
B1:-
so on...
when page loads i want to show the user node A11 selected and also parent nodes for A11 expanded.(if A11 has no child nodes then A11 has to be selected as it will be first leaf node) How can i do this server side?
I tried to do it by loops but i am not successful to traverse through the nodes at diefferent levels.
Please help me.
Thanks in advance,
Nataraj
I have a Rad tree view bound to a dataset. When page loads, i want to display the tree view with the first leaf node in the tree structure. for Eg:
Consider tree has the following structure:
A:-
A1:-
A11:-
A111
A112
A113
A12:-
A121
A122
A13
A2:-
A21:-
A211
A212:-
A2121
A22
A3
B:-
B1:-
so on...
when page loads i want to show the user node A11 selected and also parent nodes for A11 expanded.(if A11 has no child nodes then A11 has to be selected as it will be first leaf node) How can i do this server side?
I tried to do it by loops but i am not successful to traverse through the nodes at diefferent levels.
Please help me.
Thanks in advance,
Nataraj