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

PersistanceFramework doesn't work

1 Answer 81 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
Sami
Top achievements
Rank 2
Iron
Iron
Iron
Sami asked on 29 Oct 2013, 11:10 PM
Hi, I have a problem with the PersistanceFramework when I use IsolatedStorageProvider, I have a RadGridView with the StorageId setted to (telerik:PersistenceManager.StorageId="GridDeTareas"), and the code to Load and Save is too easy like you have in Silverlight Demos...
private void btnGuardarConfiguracion_Click(object sender, RoutedEventArgs e)
{
    IsolatedStorageProvider iso = new IsolatedStorageProvider();
    iso.SaveToStorage();
}
private void btnCargarConfiguracion_Click(object sender, RoutedEventArgs e)
{
    IsolatedStorageProvider iso = new IsolatedStorageProvider();
    iso.LoadFromStorage();
}

I can't find the way to this works fine... If something is wrong or missing, please tell me...

Regards...
Sami

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 31 Oct 2013, 12:32 PM
Hello Sami,
Please note that in order to persist the RadGridView you need a ICustomPropertyProvider - you could examine our sample implementation of it in this demo (note you have to register the provider in your example constructor after InitializeComponent).
If you're using CustomPropertyProvider and you still have problems please let us know and send us your sample project so that we could examine it and see what's going on wrong.

Regards,
Zarko
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
PersistenceFramework
Asked by
Sami
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Zarko
Telerik team
Share this question
or