Loading/saving layout with RadDocumentPane?

1 posts, 0 answers
  1. Kristoffer
    Kristoffer avatar
    30 posts
    Member since:
    Oct 2012

    Posted 04 Dec 2012 Link to this post

    My docking definition contains one RadDocumentPane and several RadPane panes, as shown below.
    Then, from UI, I'm switching between two docking pane layouts that contain no information about this RadDocumentPane. Still, it's there when deserialized.

          <telerik:RadDocumentPane Visibility="Collapsed" CanFloat="False" CanUserClose="False"
                    ContextMenuTemplate="{x:Null}" telerik:RadDocking.SerializationTag="MainPane">

    How can I switch between two layouts and change the RadDocumentPane? As it is now, my document pane stays the same when I load different layouts - even though it's not even present in the serialized xml.

    Solved it using the xml below. Used the wrong tags in my serialized xml. Sorry :)

            <RadPaneGroup SelectedIndex="0">
                <RadDocumentPane ... />
Back to Top