Treeview node fullpath?
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
Hey how to get the treeview selected path ? thanks?
jooooo
-
Hey how to get the treeview selected path ? thanks?
jooooo
Use recursion.
Sub AddNodeName(ByVal node As TreeNode, ByRef Path As StringBuilder)
If node.Level > 1 Then
AddNodeName(node.Parent, Path)
OrgText.Append("/") 'exchange / for whatever delimiter you want
End If
Path.Append(node.Text)
End Sub