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

RadDocking and persistence

2 Answers 98 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Allan Michaelsen
Top achievements
Rank 1
Allan Michaelsen asked on 09 Dec 2014, 01:38 PM
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 Answers, 1 is accepted

Sort by
0
Allan Michaelsen
Top achievements
Rank 1
answered on 09 Dec 2014, 04:10 PM
Correction to the above. This is what i tried to use, but failed:


IsolatedStorageProvider isoProvider = new IsolatedStorageProvider();
isoProvider.SaveToStorage();
0
Petar Mladenov
Telerik team
answered on 11 Dec 2014, 09:29 AM
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.

 
Tags
Docking
Asked by
Allan Michaelsen
Top achievements
Rank 1
Answers by
Allan Michaelsen
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or