This is a migrated thread and some comments may be shown as answers.

How to Save Expanded State of a RadTree

1 Answer 142 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Vivek
Top achievements
Rank 1
Vivek asked on 09 Jun 2017, 06:32 AM

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

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 13 Jun 2017, 06:04 AM
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.
Tags
TreeView
Asked by
Vivek
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or