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

Save/LoadLayout issue

0 Answers 26 Views
Docking
This is a migrated thread and some comments may be shown as answers.
ChrisM
Top achievements
Rank 1
ChrisM asked on 16 Apr 2012, 02:09 PM
Hi. I have a small problem with RadDocking that I'm hoping there is some functionality to solve. We are using the Save/Load Layout methodology for capturing the state of our RadPanes and other controls. This provides a chunk of XML that we save out and load in as required. Unlike the PersistenceManager methodology though, there seems to be no way to prevent certain properties from being added to the XML chunk that's generated when SaveLayout is called on a RadDocking control. When developers change the header of a RadPane, for instance, the change is overwritten when the XML is passed to LoadLayout (even when the RadPane's SerializationTag is changed, which is very strange). I'm wondering if there's some way of preventing the Header property from appearing in the XML, or if we need to take steps to remove it ourselves. It's either this or ignore all of the XML, and leave the controls to assume their default configuration, overwriting the XML.

Many thanks,
- Chris M.

No answers yet. Maybe you can help?

Tags
Docking
Asked by
ChrisM
Top achievements
Rank 1
Share this question
or