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

2 posts, 0 answers
  1. david
    david avatar
    1 posts
    Member since:
    Nov 2012

    Posted 26 Mar 2014 Link to this post

    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?
  2. Kostadin
    Admin
    Kostadin avatar
    1733 posts

    Posted 31 Mar 2014 Link to this post

    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.

     
Back to Top