How to make a tree view like frameset click?

3 posts, 1 answers
  1. Stephen Lam
    Stephen Lam avatar
    6 posts
    Member since:
    Feb 2010

    Posted 03 Mar 2010 Link to this post

    Dear all,
    I have just bough the whole package of telerik and I think they should be good to go in my project :)

    My question is, in asp.net treeview control, there is a property call "NavigateUrl" and if u click on it, it will redirect to another page with whole page refresh, and then the state of treeview is clean.I know the answer is the new page is a link, so it would be considered as a new page. How does this radcontrol to handle this saturation? Such as saving the treeview state, and click on the node with no refreshing...I know there is multipage of radcontrol, but I think that will be preloaded all of my pages in multopage, so it will slow down the process...

    Please advice, thx.

    Best regards,
    Stephen
  2. Answer
    Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Mar 2010 Link to this post

    Hi Stephen,

    RadTreeView has a pair of properties to handle such scenarios - GetXml() and LoadXmlString(). You can save the state with the first method, pass data to the other page and recreate the treeview using the second method. Here is a kb on how to pass data across pages:

    http://msdn.microsoft.com/en-us/library/6c3yckfw.aspx


    All the best,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. robertw102
    robertw102 avatar
    265 posts
    Member since:
    Jul 2007

    Posted 09 Mar 2010 Link to this post

    If you want to use RadMultiPage and don't want all the pages to be sent to the client, causing the slow down, you just set RenderSelectedPageOnly="true", and only the selected page will be sent to the client.
Back to Top