Link to home
Start Free TrialLog in
Avatar of thinklings
thinklings

asked on

Get indexes of full path selected of a Treeview

Hi,

I would like to get the indexes of each node level when a path is selected from a treeview.

For example, if Level4b from the below tree is selected, it will return 1-0-0-1

This should work similar to e.Node.FullPath except return the indexes rather than the node text.


Level 1a
          Level2a
          Level2b
                    Level3a
Level 1b
          Level2c
                    Level3b
                              Level4a
                              Level4b
Level 1c
          Level2d
                    Level3c
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America 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