Link to home
Start Free TrialLog in
Avatar of DickSwart6
DickSwart6

asked on

Tree View

How can I get The name of the parent node when I click on a sub node. for Example:
Group Name
              Building Name
                         Floor Name
                                      Location Name

If I click on Location Name, how do I get the values for all the Nodes above it in code. (Run-time)

If you dont understand please let me know and I will post my code I've got.
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

treeview.selectednode.parent
Avatar of DickSwart6
DickSwart6

ASKER

If you look at my example. Woun't your answer only dive me 'floor name' if I select 'Location name'?

I'm looking for all the above.
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial