How to Save Expanded State of a RadTree

2 posts, 0 answers
  1. Vivek
    Vivek avatar
    18 posts
    Member since:
    Apr 2011

    Posted 09 Jun 2017 Link to this post

    Hi, We are using Telerik 2017.1.228.45 RadTree controls. We have implemented RadTree contract inside a usercontrol and it's getting called through a master page. all Radtree nodes has a customUrl field populated,so when they are clicked on the same page, a user control appears and when some changes are made to that user control and is closed, RadTree loses its expanded state.

     

    Is there a way to persist RadTree in that expanded state please? if yes, then how?

     

    Thank you

  2. Eyup
    Admin
    Eyup avatar
    3626 posts

    Posted 13 Jun 2017 Link to this post

    Hello Vivek,

    You can try using the persistence framework to achieve this requirement:
    https://demos.telerik.com/aspnet-ajax/treeview/examples/applicationscenarios/persisting-treeview-settings/defaultcs.aspx?product=persistenceframework
    https://demos.telerik.com/aspnet-ajax/persistence-framework/examples/overview/defaultcs.aspx

    I hope this will prove helpful.

    Regards,
    Eyup
    Progress Telerik
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top