I test the example code of "Getting the Nodes Full Path" , but it can't work well.
so I mark break point , and debug it. Then I see , get_parent() return the control which contain the tree, because I put the tree in the RadPane.
So I Have no choice but using the level . When I use get_level() , it returns "5" for root node . For my aspx page layout, it maybe this.
Splitter <----- level 0
radpane <-----level 1
Splitter <-----level 2
radpane <-----level 3
treeview <-----level 4
(root node ) <-----level 5
To user , it's so strange that the method of TreeNode returns .
so I mark break point , and debug it. Then I see , get_parent() return the control which contain the tree, because I put the tree in the RadPane.
So I Have no choice but using the level . When I use get_level() , it returns "5" for root node . For my aspx page layout, it maybe this.
Splitter <----- level 0
radpane <-----level 1
Splitter <-----level 2
radpane <-----level 3
treeview <-----level 4
(root node ) <-----level 5
To user , it's so strange that the method of TreeNode returns .