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

Persistence of RadGrid Based on Custom Class that Inherits from Telerik.Web.UI.RadGrid

1 Answer 29 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
david
Top achievements
Rank 1
david asked on 26 Mar 2014, 06:41 PM
We have a custom class OurGrid that inherits from Telerik.Web.UI.RadGrid. We do some initial setup of the RadGrid options when a grid is added to a page using our custom type so we do not have to re-run the initialization in various places. 

In attempting to persist this using the persistence manager it appears it's grabbing the type of the object and in this case is seeing our custom type rather than RadGrid.

The error message is:
The control of CustomTelerikObjects.OurGrid could not be persisted. Please review the online documetation for the supported controls.

Is there a way around this that anyone has used?

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 31 Mar 2014, 11:31 AM
Hi David,

I am afraid that in this case you have to persist the state manually. Please check out the following help articles which describes how to save/load a custom settings.
SaveCustomSettings
LoadCustomSettings

Regards,
Kostadin
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
General Discussions
Asked by
david
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or