Hello.
I'm developing an ASP.NET WebForm application with .NET Framework 3.5 SP1 and C#.
I have a TreeView on a page. The user can navigate throught its nodes to select one. Then the user can edit the information represented by that node in another page. I want when the user come back to that page the treeview has selected the node that it was selected before.
UPDATE
The user select a node and then click on a asp.net button. Then the user goes to another page. On that other page, the user edit some data and then click on another asp.net button to come back to treeview.
I've tried to save selectednode on session but I need to load all treeview to find that node. It can take a lot of time to load all nodes.
Also, the treeview is loaded on TreeNodeExpanded event and I set its ExpandDepth property to 1. It doesn't have a datasource. I create and add nodes at runtime.
How can I do that?
If you need more details tell me!
Thank you.