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

RadDocking DocumentHost and two RadSplitContainers

1 Answer 178 Views
Docking
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
jnh999
Top achievements
Rank 1
jnh999 asked on 11 Oct 2012, 12:57 PM
Can I put more than one RadSplitContainers inside a DocumentHost since I need two RadPanes inside the documentHost that is user resizable?  It throws exceptions when I do so.  What is the purpose of DocumentHost?  

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 16 Oct 2012, 01:40 PM
Hello,

The DocumentHost is meant to be used as a main area in the RadDocking control. Please, refer to the following online help articles for more detailed information:

The DocumentHost is a content control and only one RadSplitContainer can be placed there, but you could place more than one PaneGroup (or event SplitContainer) there. For example, to place two groups in the DocumentHost, please refer to the following lines of code:
<telerik:RadDocking>
    <telerik:RadDocking.DocumentHost>
        <telerik:RadSplitContainer>
            <telerik:RadPaneGroup>
                <telerik:RadPane Header="Toolbox" />
            </telerik:RadPaneGroup>
            <telerik:RadPaneGroup>
                <telerik:RadPane Header="Server Explorer"/>
                <telerik:RadPane Header="Properties"/>
            </telerik:RadPaneGroup>
        </telerik:RadSplitContainer>
    </telerik:RadDocking.DocumentHost>
                 
    ....
</telerik:RadDocking>

Hope this helps.

Greetings,
George
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Docking
Asked by
jnh999
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or