treeview root question
Posted on 2003-02-21
I have a treeview which represents the logical command structure of a large organization. It is represented as 3 trees with each tree rooted at a geographic level... CONUS,EUROPE,ASIA. Now in the treeview each of these geographic roots are at the same level. Problem is when I click a child node of CONUS or EUROPE it always reports the root as the first node I added to the entire treeview (ASIA geographic root). I cant hardcode a backup routine as in 'node.parent.parent.parent' as the depth of the trees are dynamic depending on user acess level. So, how to I dynamically return to the logical root of my structure?