We recently upgraded to Telerik RadControls for Silverlight Q3 2012 (version 2012.3.1017) and now a bug has cropped up in our xaml that was working.
We're getting a NullReferenceException in your code when GetParentDocking is returning null every time we click on a tab.
Here's where where the problem is starting in our xaml.
<
Controls:RadDocking.DocumentHost
>
<
Controls:DockPanel
>
<
Controls:Toolbar
Orientation
=
"Horizontal"
VerticalContentAlignment
=
"Center"
Controls:DockPanel.Dock
=
"Top"
>
<
Components:ToolButton
/>
<
Components:ToolButton
/>
<
Components:ToolButton
/>
<
Components:ToolButton
/>
</
Controls:Toolbar
>
<
radDock:RadSplitContainer
InitialPosition
=
"DockedTop"
radDock:RadDocking.SerializationTag
=
"HostContainer"
>
<
radDock:RadPaneGroup
x:Name
=
"HostPaneGroup"
TabOrientation
=
"Horizontal"
TabStripPlacement
=
"Top"
radDock:RadDocking.SerializationTag
=
"HostPaneGroup"
>
</
radDock:RadPaneGroup
>
</
radDock:RadSplitContainer
>
</
Controls:DockPanel
>
</
Controls:RadDocking.DocumentHost
>
I'm guessing it has to do with the fact there's a DockPanel between the RadSplitContainer and the DocumentHost?
I'm not entirely sure why it was coded this way to begin with and I'm having trouble tweaking the xaml to get it to work as well as look the same.