Hi team,
how we can reset the grid setting to the default after loading the saved settings.
we want to have a "Reset" column which return the grid to the default settings.
Regards
Ahmed Salem
1 Answer, 1 is accepted
0
Tsvetoslav
Telerik team
answered on 26 Oct 2012, 06:30 AM
Hi Ahmed,
I am not sure what exactly your scenario is but I suppose you are talking about RadGrid's settings persistence one. If so, the default settings when the grid loads initially should be saved programmatically with a given key (be it in Session or any other persistence media) in the same way any other custom settings are saved and when the restore button is clicked, then they should be loaded with the key that has been used to save them: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/savinggridsettingsonperuserbasis/defaultcs.aspx
Hope it helps.
Greetings,
Tsvetoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.