As the RadPersistenceFramework
cannot save the settings of the RadGridView
out-of-the-box, we've implemented the approach with defining custom property provider. The purpose of the property providers is to allow you to define which properties of complex controls like the RadGridView
should be persisted. The GridViewCustomPropertyProvider
defined in the sample solution I sent you is a basic implementation demonstrating how to persist the Columns UniqueName
as well as the filters, sortings and the groupings implemented in the RadGridView
. This is why you'll need to extend the class to save the other properties that your application should persist.
Basically the GetCustomProperties
method should return a list of all RadGridView
persisted properties. The ProvideValue()
method should implement the logic that saves the properties and the RestoreValue()
method should include logic that will restore the saved values.
Let us know if you encounter any issues while extending the GridViewCustomPropertyProvider
the Telerik team