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

Cannot re-attach a floating window to the correct RadPaneGroup

5 Answers 63 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Nick Polyak
Top achievements
Rank 1
Nick Polyak asked on 19 Mar 2010, 12:31 AM
I have a RadPane blocking the correct compass, so instead of docking to a higher level, my window becomes a peer to the RadPane within the RadPane to which I want to dock.
Please help.

5 Answers, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 19 Mar 2010, 02:45 PM
Hello Nick,

 Could you please provide more details about the issues you are experiencing? Unfortunately  I cannot clearly understand what the problem is.

All the best,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Nick Polyak
Top achievements
Rank 1
answered on 19 Mar 2010, 02:55 PM
Hi Miroslav,
here is my XAML code:
        <radDock:RadDocking x:Name="MyRadDocking"
            <radDock:RadSplitContainer InitialPosition="DockedTop"
                <radDock:RadPaneGroup> 
                    <radDock:RadPane 
                        Header="Pane1"
                        <radDock:RadSplitContainer 
                            InitialPosition="DockedTop"
                            <radDock:RadPaneGroup> 
                                <radDock:RadPane 
                                    Header="SubPane1" /> 
                                <radDock:RadPane 
                                    Header="SubPane2" /> 
                            </radDock:RadPaneGroup> 
                        </radDock:RadSplitContainer> 
                    </radDock:RadPane> 
                    <radDock:RadPane 
                        Header="Pane2" /> 
                </radDock:RadPaneGroup> 
            </radDock:RadSplitContainer> 
        </radDock:RadDocking> 
 

You can see that Pane1 contains dockable "sub-panes": SubPane1 and SubPane2.
I drag Pane2 out so that it becomes a floating window. Then I try to put it back to become a tabbed pane on the same level as Pane1 (just as it used to be). I cannot do it, I can only put it together with SubPane1 and SubPane2. You can try it yourself. 
My question is - is there any workaround to put Pane2 back together with Pane1.
Thanks
Nick
0
Miroslav Nedyalkov
Telerik team
answered on 23 Mar 2010, 10:42 AM
Hi Nick,

 What you are trying to do is not supported - you shouldn't put split containers in the panes. What you could do is to put split containers in the docking control or in other split containers, pane groups in split containers and panes in the groups. The content of the pane couldn't by any of the Docking control parts including the Docking control itself

Regards,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Nick Polyak
Top achievements
Rank 1
answered on 23 Mar 2010, 05:34 PM
Hi Miroslav,
then how do I support the layout as in the above example?
Nick
0
Miroslav Nedyalkov
Telerik team
answered on 24 Mar 2010, 10:47 AM
Hello Nick,

 You cannot achieve this with the Docking control. I would suggest you to use a TabControl and in one of the tabs you may put the content, meant to be placed in the pane with header Pane 2 and in the other tab - you might place a Docking control, a SplitContainer, Group and two Panes.

Kind regards,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Docking
Asked by
Nick Polyak
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Nick Polyak
Top achievements
Rank 1
Share this question
or