Persistance framework - multiple grids.

4 posts, 0 answers
  1. David
    David avatar
    4 posts
    Member since:
    Jan 2011

    Posted 06 Feb 2012 Link to this post

    Hi,
     
    I am trying to save multiple gridviews to Iso storage.  The problem is that not all the grids are populated at once so when you save the first and then go to the second tab with the second grid, I get an error. 

    It doesn't seem to be able to save selected components. 

    Is there a way to set the telerik:PersistenceManager.StorageId in code rather that in XAML?  This would be a help as I could set the id of a specific grid only when it needs to be saved



    It also does not seem to be able to remove selected components or even all settings.

    provider.DeleteIsolatedStorageFiles() <-- does not seem to work

    Dictionary<string, DependencyObject> stor = PersistenceManager.GetStorage();

    stor.Remove(cntrl);  <-- also does not seem to work

    Is there a way to delete data from storage that works?

    Thanks for your help on this.  I am really getting a lot of pressure for the Telerik compononents to work as specified.

    PatC

     

     

     

     

     




     

     

     

     

     

    // doesnt seem to persist;

     

     

     

     

     

    //stor.Remove(cntrl);


     

     
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 09 Feb 2012 Link to this post

    Hello David,

    We are not aware of such issues but we might be missing something from your scenario. Can you please have a look at the attached sample and modify it to better demonstrate your scenario and issues.

    Thank would allow us to further investigate what might be causing it. Thank you in advance for your cooperation.

    Kind regards,
    Tina Stancheva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. DevCraft banner
  4. Scott
    Scott avatar
    3 posts
    Member since:
    Aug 2012

    Posted 30 Aug 2012 Link to this post

    Do you have a version of GridViewIsolatedStorage.zip that works with the latest version of RadControls for WPF? I am trying to do something similar.

    Thanks!
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 04 Sep 2012 Link to this post

    Hi Scott,

    Please find attached a WPF version of the solution and let us know if you need further assistance.

    Kind regards,
    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top