Save/Load Layout Without DocumentHost

4 posts, 0 answers
  1. Ryan
    Ryan avatar
    7 posts
    Member since:
    Apr 2011

    Posted 28 Apr 2011 Link to this post

    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.
  2. Ryan
    Ryan avatar
    7 posts
    Member since:
    Apr 2011

    Posted 02 May 2011 Link to this post

    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.
  3. Miroslav Nedyalkov
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 04 May 2011 Link to this post

    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.

    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
  4. Andrew
    Andrew avatar
    29 posts
    Member since:
    Oct 2010

    Posted 20 Dec 2011 Link to this post

    I agree, we need more control over what and how is saved into the layout.
Back to Top