Hi,
I am constructing an asp.net tree view by querying sharepoint user profiles. The accountname that is to be selected and the root node accountname is being read from query string.
I also need to have configurable exapanddepth for the tree.
How do i select the node if the node belongs to the 4th level and say the expanddepth is less than 4 (1,2, or 3).
Setting relevant node in the 4 th level as selected and setting the ExpandDepth property of the treeview does not look to help.
So essentially, i need to keep the tree expanded untill the selected node(only that navigation that leads to the selected node) but keep other part of the tree expanded only till as defined by expanddepth.
Thanks