Docking a RadPane inside another RadPane in Silverlight

2 posts, 0 answers
  1. Flaviu
    Flaviu avatar
    2 posts
    Member since:
    May 2013

    Posted 09 May 2013 Link to this post

    Hi,

    I am using the Telerik docking control to be able to dock a RadPaneGroup inside another RadPane, but the rad pane group control
    always gets docked outside my parent control which unfortunately is not the wanted result. Here is a sample of my source code :

      
    <telerik:RadDocking x:Name="RadDocking1" CloseButtonPosition="InGroup" AllowUnsafeMode="True" AllowDragReorder="True" AllowDrop="True">
                <telerik:RadDocking.DocumentHost>
                    <telerik:RadSplitContainer>
                        <telerik:RadPaneGroup Margin="-8">
                            <telerik:RadPane x:Name="MapPane" Visibility="Collapsed" PaneHeaderVisibility="Collapsed" CanUserClose="False" CanFloat="False" CanUserPin="False" CanDockInDocumentHost="True">
                                <telerik:RadPane.Content>
                                    <Grid>
                                        <Image Source="Assets/map.png" Stretch="Fill"></Image>
                                        <telerik:RadSplitContainer x:Name="Container" InitialPosition="DockedRight" UseLayoutRounding="True">
                                            <telerik:RadPaneGroup x:Name="PaneGroup"  Height="300" Width="200">
                                                <telerik:RadPane  CanDockInDocumentHost="True" x:Name="RadPane" Header="TestPane">
                                                    <TextBlock Text="TestPanel"/>
                                                </telerik:RadPane>
                                            </telerik:RadPaneGroup>
                                        </telerik:RadSplitContainer>
                                    </Grid>
                                </telerik:RadPane.Content>
                            </telerik:RadPane>
                        </telerik:RadPaneGroup>
                    </telerik:RadSplitContainer>
                </telerik:RadDocking.DocumentHost>
            </telerik:RadDocking>

    I looked at the demo samples over Telerik website but couldn't find any sample that does what I want

    I have a sample project which consists of a map ( picture, for simplicity purposes ) and a panel that needs docking. What I want is to be able to dock that panel inside the parent ( the map control ), not outside it.
    Attached I have a screenshot of my sample app running. 

    Thanks,

    Flaviu
  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 14 May 2013 Link to this post

    Hello,

    Placing RadPane inside another RadPane is considered a nested Docking scenario which is not supported in the current version of the control. We are currently researching all the uses and the possibility of implementing such functionality in the RadDocking control in one of our future releases of RadControls.

    Thank you for sharing with us your scenario, we will take it in inconsideration when implementing the nested Docking controls feature.

    All the best,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top