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

Docking a RadPane inside another RadPane in Silverlight

1 Answer 55 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Flaviu
Top achievements
Rank 1
Flaviu asked on 09 May 2013, 09:31 AM
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

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 14 May 2013, 08:27 AM
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.

Tags
Docking
Asked by
Flaviu
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or