Hello everyone!
I have a treeview populated by a SitemapDatasource. All sitemapnodes have a title and a url.
What I would like is the following:
A treeview which collapses all parentnodes which aren't active and expands the parentnode which is selected.
If a parentnode is selected, its childnodes are shown = this selected parentnode is expanded.
All other parentnodes are collapsed.
Example menu (Link A2 is expanded; all the other links are collapsed):
-A
A1
A2
+B
+C
Now the user clicks on Link B:
+A
-B
+B1
+B2
B3
+C
+D
As the links are loaded from the sitemapdatasource, none of the links trigger the TreeView1_SelectedNodeChanged event.
I've been searching for hours now, and can't find any proper solution for the above.
All replies are welcome!
...
Go to the complete details ...