Adding Dynamically created control inside RadDocking at RunTime

2 posts, 0 answers
  1. Dennis
    Dennis avatar
    38 posts
    Member since:
    Aug 2010

    Posted 19 Feb 2011 Link to this post

    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.

     

     

  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 23 Feb 2011 Link to this post

    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!
  3. DevCraft banner
Back to Top