Trouble keeping the trees expanded after reload

2 posts, 0 answers
  1. Ryan
    Ryan avatar
    1 posts
    Member since:
    Apr 2009

    Posted 02 Apr 2009 Link to this post


    if i have a few nodes expanded if the page is refreshed they all collape.  How do you keep the nodes you have expanded open after a refresh or a page change?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 03 Apr 2009 Link to this post

    Hi Ryan,

    One suggestion is that 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. Please refer the forum link which discusses similar scenario.
    RadTreeView save expanded state

    Thanks,
    Shinu.
Back to Top