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

Save/Load Grid State

8 Answers 284 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Guido Tapia
Top achievements
Rank 1
Guido Tapia asked on 09 Feb 2009, 10:20 PM
Hi,

I would like my application to save the grid state (sort, column order, filters, etc) and then when restarted I would like to re-apply these settings.

I started playing around with this idea only to find the SortDescription and CompositeFilterDescription are not Serializable.  Can we please make these serializable in a future release?  Even better can we add the methods:
RadGridView.SaveGridState(string filename)
RadGridView.LoadGridState(string filename)

Thanks

Guido Tapia

8 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 10 Feb 2009, 09:06 AM
Hello Guido,

Thank you for the great feature request. We will try to include save/load state in one of the future builds of RadGridView and hopefully this feature will make it for the Q1 release in a month. I will log in our bug tracker that the SortDescription and CompositeFilterDescription classes are not serializable, and we will fix them as soon as possible.

Best wishes,
Valeri Hristov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Guido Tapia
Top achievements
Rank 1
answered on 18 Mar 2009, 01:50 AM
Hi Valeri,

Do you know if this feature made it into Q1?

Thanks

Guido
0
Hristo Deshev
Telerik team
answered on 18 Mar 2009, 09:24 AM
Hi Guido,

Unfortunately the feature was dropped for the Q1 release. We will try to add it for Q2.

All the best,
Hristo Deshev
the Telerik team


Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
sandy pochiraju
Top achievements
Rank 1
answered on 22 Sep 2009, 05:32 AM
Please can you help me save grid settings in wpf.
thank u
sandy
0
Missing User
answered on 22 Sep 2009, 06:33 AM
Hello sandy pochiraju,

You can use this blog post as a reference:
http://blogs.telerik.com/vladimirenchev/posts/09-04-03/how_to_save_and_load_settings_with_radgridview_for_wpf.aspx

Hope this helps.

Sincerely yours,
Anastasia
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
sandy pochiraju
Top achievements
Rank 1
answered on 23 Sep 2009, 06:04 PM
hi Anastasia,

do you i have to create a new class with the code you have sent or it is already available in 2009 q2 wpf release?

thank u
sandy
0
Chris
Top achievements
Rank 2
answered on 30 Nov 2012, 12:48 AM
The blog post is very outdated, and attempting to use it now results in quite a fews classes no longer existing.
When looking, I find some that may be the new ones renamed, but many of them are internal and not public.

Can we get an update on this code?
0
Maya
Telerik team
answered on 30 Nov 2012, 07:36 AM
Hello Christopher,

The current recommend approach is to work with RadPersistenceFramework. Check out the demos and online documentation for more information. 

All the best,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Guido Tapia
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Guido Tapia
Top achievements
Rank 1
Hristo Deshev
Telerik team
sandy pochiraju
Top achievements
Rank 1
Missing User
Chris
Top achievements
Rank 2
Maya
Telerik team
Share this question
or