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

Save/Load Grid State

2 Answers 106 Views
Grid
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, 01:13 AM
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

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 09 Feb 2009, 04:51 AM
Hello Guido,

You can refer to the following help document which explains on how to store and load settings like sorting, filtering, column order and width etc. on user basis:
Saving grid settings on a per user basis

You can also refer to the following forum link, which discusses on how to save client settings in a grid. To store the column reorder settings for the column in RadGrid, you will need to perform the operation server-side. The same applies to other client side settings as well.
Can we save the clientSettings in RadGrid?

Thanks
Princy.
0
Guido Tapia
Top achievements
Rank 1
answered on 09 Feb 2009, 10:19 PM
I meant to put this in the WPF Grid Forum.

Sorry for wasting your time Princy,

Thanks anayway

Guido
Tags
Grid
Asked by
Guido Tapia
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Guido Tapia
Top achievements
Rank 1
Share this question
or