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

Adding Dynamically created control inside RadDocking at RunTime

1 Answer 75 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Dennis
Top achievements
Rank 1
Dennis asked on 19 Feb 2011, 06:23 PM
Hi,

I want to add dynamically created controls inside Docking Control at RunTime. I have a Docking control ready at design time. I just need to add the controls created at runtime inside the Docking control. Please can you help me out achieving this?

Below id the code of the xaml file which contains the Design for the Docking Control:
 

<

 

 

telerikDocking:RadDocking Margin="0,0,0,0" Grid.Row="1" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" HasDocumentHost="False">

 

 

 

 

<telerikDocking:RadSplitContainer InitialPosition="DockedBottom" >

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Data Chart" >

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Data Chart2">

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Detail Map">

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

</telerikDocking:RadSplitContainer>

 

 

 

 

<telerikDocking:RadSplitContainer InitialPosition="DockedBottom" >

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Data Chart" >

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Data Chart2">

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Detail Map">

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

</telerikDocking:RadSplitContainer>

 

 

 

 

<telerikDocking:RadSplitContainer InitialPosition="DockedBottom" >

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Data Chart" >

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Data Chart2">

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPaneGroup>

 

 

 

 

<telerikDocking:RadPane Header="Detail Map">

 

</telerikDocking:RadPane>

 

 

 

 

</telerikDocking:RadPaneGroup>

 

 

 

 

</telerikDocking:RadSplitContainer>

 

 

 

 

</telerikDocking:RadDocking>

 




Thanks in advance.

 

 

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 23 Feb 2011, 11:05 AM
Hello David,

Please find the answer to your question here.

Regards,
Konstantina
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Docking
Asked by
Dennis
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or