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

SaveLayout With DocumentHost

2 Answers 60 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 2
Peter asked on 13 Aug 2009, 03:18 PM
I'm using the following version of the controls: 2009.2.812.1030

There appears to be a bug with the RadDock when saving a layout that contains a DocumentHost.  I was going throught the How To Create a Weather Forcast Browser example to learn how the load and save layout features work.  What I've found is that any RadPanes that are added into the DocumentHost are saved twice when calling the Dock.SaveLayout function.  After going through the first 9 steps of the example, I ran the program.  Click on the save layout button and then try to load the layout.  You get an extra copy of the RadPanes contained in the DocumentHost, however they appear to the left of the document host with the tabs on the bottom.
If you link to the RadDock.ElementSaving event you can see that it hits each of the RadPanes within the Document Host more than once. 

Is there someway to workaround this issue until it can be resolved?

Thanks,
Pete

2 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 18 Aug 2009, 04:54 PM
Hi Peter,

We've already fixed the issue and the fix will be included in the next internal build. Unfortunately there is no easy work-around for this problem. What I could suggest as a work-around is to find the extra panes and removing them just after loading (they should have the same SerializationTags as all the panes in the DocumentHost), but you will be able to use the fixed version with the internal build that should come at the end of the week. 

We apologize for the caused inconvenience.

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
0
Peter
Top achievements
Rank 2
answered on 18 Aug 2009, 08:07 PM
Thanks for the update.  I look forward to the next build.
Tags
Docking
Asked by
Peter
Top achievements
Rank 2
Answers by
Miroslav Nedyalkov
Telerik team
Peter
Top achievements
Rank 2
Share this question
or