I am creating an asp.net tree view by querying sharepoint user profiles. The account name to be selected and the root node account name are read from the query string.
I also need to have a custom exapanddepth for the tree.
How to choose a node if the node belongs to the 4th level and says that the expanddepth value is less than 4 (1,2 or 3).
Setting the corresponding node at the 4th level selected and setting the ExpandDepth property of the tree structure will not help.
Therefore, in essence, I need to save the tree extended to the selected node (only this navigation leading to the selected node), but save the other part of the tree only until it is defined using expanddepth.
thanks
source
share