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

Saving visible columns and orders

2 Answers 255 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 18 May 2016, 03:06 PM

Hey,

 

Is there baked-in functionality to serialize the visible columns and their ordering from the gridview? Nothing is immediately obvious but it seems like reasonably standard functionality. If not is there a recommended best practice to do this?

 

Cheers,

Tom

2 Answers, 1 is accepted

Sort by
0
Accepted
Dilyan Traykov
Telerik team
answered on 19 May 2016, 10:42 AM
Hello Thomas,

The functionality you seek can be achieved by using RadPersistenceFramework, which allows you to save the visual state of your application either in an isolated storage or in a Stream.

Please have a look at the GridView Serialization demo from our UI for WPF demos for a good example of how to achieve the desired behavior. It can be found under RadPersistenceFramework.

You can also have a look at the same example in our SDK Samples Browser.

I hope you find this information helpful.

Regards,
Dilyan Traykov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Thomas
Top achievements
Rank 1
answered on 22 May 2016, 11:06 AM
Nice thanks
Tags
GridView
Asked by
Thomas
Top achievements
Rank 1
Answers by
Dilyan Traykov
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or