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

Save/Load Layout Without DocumentHost

3 Answers 50 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Ryan
Top achievements
Rank 1
Ryan asked on 28 Apr 2011, 10:56 PM
Is there currently any way to Save and Load the Layout and ignore the contents of the Document Host while doing so?

I only want to save the layout of the tool panes I've created. The fact that the save/load tries to deal with the open documents is causing my site all sorts of issues.

3 Answers, 1 is accepted

Sort by
0
Ryan
Top achievements
Rank 1
answered on 02 May 2011, 11:19 PM
On this subject also, one of the things I wish the docking control did was instead of a Save layout there was a Get Layout, that simply just returned either an xml string or an XDocument so that it would be easy to manipulate this layout before saving it ourselves. Would've eliminated some headache in my current case.
0
Miroslav Nedyalkov
Telerik team
answered on 04 May 2011, 08:36 AM
Hello Ryan,

First of all thank you for your suggestion. We will consider extending the save/load infrastructure somehow, but this is not planned for the Q2 release.
Currently the Docking control doesn't support excluding elements from the Save/Load layout logic. What I would suggest is to either edit the XML after saving the layout (using XDocument for example) or to remove all the documents from the Docking control before saving the layout.

Hopes this helps.

Regards,
Miroslav Nedyalkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Andrew
Top achievements
Rank 1
answered on 20 Dec 2011, 09:31 PM
I agree, we need more control over what and how is saved into the layout.
Tags
Docking
Asked by
Ryan
Top achievements
Rank 1
Answers by
Ryan
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Andrew
Top achievements
Rank 1
Share this question
or