PersistanceFramework doesn't work

2 posts, 0 answers
  1. Sami
    Sami avatar
    12 posts
    Member since:
    Feb 2011

    Posted 29 Oct 2013 Link to this post

    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
  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 31 Oct 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top