I get an exception when trying to drag a radpanel with the following layout:
<
telerik:RadDocking
x:Name
=
"radDocking"
Grid.Row
=
"1"
>
<
telerik:RadDocking.DocumentHost
>
<
telerik:RadPaneGroup
x:Name
=
"radPaneDocuments"
>
<
telerik:RadPane
x:Name
=
"radPane1"
Header
=
"Document 1"
>
<
TextBlock
TextWrapping
=
"Wrap"
Text
=
""
></
TextBlock
>
</
telerik:RadPane
>
<
telerik:RadPane
x:Name
=
"radPane2"
Header
=
"Document 2"
>
<
TextBlock
TextWrapping
=
"Wrap"
Text
=
""
></
TextBlock
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadDocking.DocumentHost
>
<
telerik:RadSplitContainer
x:Name
=
"radSplitContainer"
InitialPosition
=
"DockedLeft"
Width
=
"150"
>
<
telerik:RadPaneGroup
x:Name
=
"radGroupMenu"
>
<
telerik:RadPane
x:Name
=
"radPaneMenu"
Header
=
"Menu"
>
<
StackPanel
>
<
telerik:RadButton
x:Name
=
"btnCustomers"
Content
=
"Customers"
/>
<
telerik:RadButton
x:Name
=
"btnMachines"
Content
=
"Machines"
/>
</
StackPanel
>
</
telerik:RadPane
>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
I don't know what's wrong with the layout.
Thanks in advance.
13 Answers, 1 is accepted
The root of the SplitContainer should be a RadSplitContainer, but not a PaneGroup. To fix the problem you need to just wrap the PaneGroup in the DockumentHost in a SplitContainer.
Hope this helps.
Miroslav Nedyalkov
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

After I updated to Q2 I started to get this exception when I drag a RadPane:
"Element already has a logical parent. It must be detached from the old parent before it is attached to a new one"
Could you help me solve my problem? I never got this error with the previous Release.
As we changed some things trying to not affect the behavior of the control, we couldn't guess what the problem is. Could you please share with us some more details about your scenario? A sample project that reproduces the problem would be of great help.
Kind regards,Miroslav Nedyalkov
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

I tried creating a new project and I copied my xaml to the new project and it works.
Then I copied one of your demos and it did not work in my original project the one that I updated the controls, but it worked on the brand new project.
I'm guessing there's a problem when I update the application to the newest controls, something is not updating or I am missing something. I deleted all the references manually and put the new references with no success.
Please try deleting the obj and bin folders and then rebuild the project once again. You could also make sure that all the references point to the same location.
All the best,Miroslav Nedyalkov
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

I found the problem, it has nothing to do neither with docking nor being a new application , I had this line in my MainWindow
StyleManager.ApplicationTheme = new Windows7Theme();
If I change to metrotheme there's no problem with the application, I also tried with VistaTheme and Office and the application worked.
The problem with selecting windows7theme is at trying to drag a rad pane to the bottom, top, left or right...when I drag it to the center there's no exception thrown.
Hope it helps you fix the problem.
We are aware of this issue. A fix will be provided in the next internal build.
Sorry for the caused inconvenience.
Greetings,
Konstantina
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Is it possible to use a single theme just for the Docking control (e.g. Office Blue) to get this working?

<
telerik:RadDocking
telerik:StyleManager.Theme
=
"Office_Blue"
>

This problem should be fixed in the latest internal build. What version do you use?
All the best,Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

I cannot get it to work simply by adding telerik:StyleManager.Theme="Metro" to the set of RadDocking attributes.
Do you folks at Telerik believe that you understand the problem or would you like me to bundle up a demo project and send it through a support ticket? Glad to read that you think you have an internal version that might fix it. How can I test it and when do you think that it will make it to a generally available release?
I confirm that the problem existed in the 2011 Q2 SP1 version that you use. We fixed the problem and the fix is included in the nightly build we provide every Monday. Do download the latest internal build go to your account page at www.telerik.com and you will find the link at bottom-right corner of the page.
Hope this helps.
Miroslav Nedyalkov
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>