Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27355

VS 2010 TreeView - Remember all expanded nodes

$
0
0
Hi there,

I have found examples and discussions on how to remember the last selected node, and reselect/expand that node after a refresh.

What I want to do is remember all expanded nodes/node paths and after a refresh expand all previous paths.

How would I go about this..? Before the refresh would I have to recursively check the state of each node, store it and then after the refresh reassign the restored state..?

Any help or suggestion would be greatly appreciated.

Thank you.

Viewing all articles
Browse latest Browse all 27355

Trending Articles