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

Persistance framework - multiple grids.

3 Answers 48 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 06 Feb 2012, 06:33 PM
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);


 

 

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 09 Feb 2012, 03:30 PM
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 >>
0
Scott
Top achievements
Rank 1
answered on 30 Aug 2012, 02:42 PM
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!
0
Tina Stancheva
Telerik team
answered on 04 Sep 2012, 02:17 PM
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.

Tags
PersistenceFramework
Asked by
David
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Scott
Top achievements
Rank 1
Share this question
or