cannot load or save the grid settings using persistence framework

3 posts, 0 answers
  1. Muhammad
    Muhammad avatar
    24 posts
    Member since:
    Mar 2012

    Posted 10 Jul 2012 Link to this post

    i have a problem ,i am registering grids for persistence storage ,all it only create the files but not loading or saving the settings of grids.
    on the page/usercontrol loaded event
    i am registering grids
     PersistenceManager.SetStorageId(grid1, PersistenceKey);

    and then after that using the isolated storage
    object i am calling the respective methods on loaded and unloaded events of the usercontrol.
    i am not registering the control using the xaml.
    kindly help me on this.regards shabbir
  2. Hristo
    Hristo avatar
    352 posts

    Posted 13 Jul 2012 Link to this post


    I would like to ask you if the issue is present when saving/loading persisted state on button click?
    Could you please check if your Loaded event handler is called and the controls state is as you expect (before restoring them). It is possible the Loaded event is fired too early.

    If the above points are not valid for your case, could you please send us a sample project demonstrating the issue in order to investigate it in detail.

    On a side note, I just wanted to encourage you to take advantage of the support ticketing system ( in cases when you need a prompt response to urgent issues. This is the best way to reach our support staff and attach sample project.

    Hope this helps.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft R3 2016 release webinar banner
  4. Muhammad
    Muhammad avatar
    24 posts
    Member since:
    Mar 2012

    Posted 13 Jul 2012 Link to this post

    thanks for replying,sorry my mistake i didnt register the gridview using the service .and thats why it was not working ...thanks for replying its solved .
    ServiceProvider.RegisterPersistenceProvider<ICustomPropertyProvider>(typeof(RadGridView), new GridViewCustomPropertyProvider()); 

Back to Top