Save/LoadLayout issue

1 posts, 0 answers
  1. ChrisM
    ChrisM avatar
    12 posts
    Member since:
    Apr 2011

    Posted 16 Apr 2012 Link to this post

    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.
Back to Top