T
Ted Ngo
Hi All,
I am using treeview control in asp.net 2.0.
this is my treeview:
ZZZZZ
NNNNNN
HHHHHHH
KKKKKKK
AAAA
BBBB
CCCC
DDDD
LLLLL
11111
22222
333333
XXXXX
12345
5678
YYYYY
if I selected "DDDD" node, I would get to get all the parents text of
the "DDDD" node
I want to get back "CCCC", "BBBB", "AAAA"
I am using this to get "DDDD" node text back "tv.SelectedNode.Text"
And I am using this to get "CCCC" node text back
tv.SelectedNode.Parent.Text but I am not sure how to get BBBB and AAAA
text back.
Please help.
Thanks in advance
I am using treeview control in asp.net 2.0.
this is my treeview:
ZZZZZ
NNNNNN
HHHHHHH
KKKKKKK
AAAA
BBBB
CCCC
DDDD
LLLLL
11111
22222
333333
XXXXX
12345
5678
YYYYY
if I selected "DDDD" node, I would get to get all the parents text of
the "DDDD" node
I want to get back "CCCC", "BBBB", "AAAA"
I am using this to get "DDDD" node text back "tv.SelectedNode.Text"
And I am using this to get "CCCC" node text back
tv.SelectedNode.Parent.Text but I am not sure how to get BBBB and AAAA
text back.
Please help.
Thanks in advance