How to persist state

2 posts, 0 answers
  1. Ed
    Ed avatar
    5 posts
    Member since:
    Oct 2008

    Posted 03 Nov 2008 Link to this post

    Hi,
    I am going to use a tree view on a master page and as users navigate from page to page I would like to have the tree maintain its state (i.e. whatever nodes are collapsed/expanded/selected) going from page to page.
    What is the recommended way of doing this?
    Thanks ... Ed
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 05 Nov 2008 Link to this post

    Hi Ed,

    Here is a code library submission which explains how to keep the expanded state of r.a.d.treeview between postbacks when the treeview is being bound upon each postback.
    Save the expanded state of the TreeNodes when the treeview is being bound upon each postback

    Thanks
    Shinu
Back to Top