Treeview State Between Pages

3 posts, 0 answers
  1. Naveen
    Naveen avatar
    5 posts
    Member since:
    Feb 2011

    Posted 02 Feb 2011 Link to this post

    Hi Team ,

    I am new to telerik.i am having RadTreeView in MasterPage and having around 100 pages are using this masterpage.what are the differents ways(by using serverside or clientside) to maintain the state of treeview between the pages (ex:expanding and collapsing etc..).

    Please help me..

    Regards ,
    Naveen M
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 02 Feb 2011 Link to this post

    Hi Naveen,

    One suggestion is to use the GetXML() method to get the current state of RadTreeView as XML string and save the XML string. When you decide to restore your Treeview call the LoadXmlString() method to populate the treeview from the previously stored XML String.

    Also the following links will be of help in this.
    RadTreeView save expanded state
    Save the expanded state of the TreeNodes when the treeview is being bound upon each postback


    -Shinu.
  3. Naveen
    Naveen avatar
    5 posts
    Member since:
    Feb 2011

    Posted 02 Feb 2011 Link to this post

    thanks shinu,

    will check it and get back to you in case of any problems
Back to Top