RadDocking and persistence

3 posts, 0 answers
  1. Allan Michaelsen
    Allan Michaelsen avatar
    6 posts
    Member since:
    Aug 2009

    Posted 09 Dec 2014 Link to this post

    Hi
    I'm trying to get RadDocking to work with persistence. I can get it to work by using "radDocking.SaveLayout()", but isn't it possible to use "persistence.Savelayout()"?

    I've tried to set the persistenceid on my RadDock and there's no errors when saving/loading, but the layout is screwed up when loaded. There's duplicates of panes and not a lot of functionality. I'm using a modifed copy of the Telerik/Prism demo project.

    Any ideas?

    Regards Allan
  2. Allan Michaelsen
    Allan Michaelsen avatar
    6 posts
    Member since:
    Aug 2009

    Posted 09 Dec 2014 in reply to Allan Michaelsen Link to this post

    Correction to the above. This is what i tried to use, but failed:


    IsolatedStorageProvider isoProvider = new IsolatedStorageProvider();
    isoProvider.SaveToStorage();
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 11 Dec 2014 Link to this post

    Hello Allan,

    In order to persist the layout of RadDocking we highly encourage you to use the approach implemented in the following demo (the code is shared between WPF / SL).

    Persistence Framework - Docking Serialization

    Basically , not every property can be automatically saved with our Persistence. For more information please check out the following help article:

    Persistence Framework - Getting Started

    Regards,
    Petar Mladenov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top