Greetings!
I'm building a web page that in its master file has a treview navigation control. Now, this treeview has a root, a parent and leaf nodes.
I'm having a problem with the post back of this control. Basically, I have set the "parent" nodes not to be exapnded, so the user has to click the parent node to see the leaf nodes below its parent node. For example:
Root
Parent (The user only sees the leaf nodes if he/she clicks this parent node)
Leaf
Leaf
Leaf
... (the same patterns continues)
Well, my problem is that when the user clicks, let's say, the parent node(to see the leaf nodes) and then clicks the "leaf" node #1 in page1.aspx (which has a url to page2.aspx for example), the page2.aspx is loaded but the tree view control is in its original state, which is:
Root
Parent
... and then I have to click again the parent node (in the new page2.aspx) to see the leaf nodes.
Is there a code, or article that someone can provide me to solve this problem, so each time the user clicks a parent node in a page and the leaf nodes are visible, when the user goes to another page this leaf nodes are still visible?
Thanks you,
Eduardo