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

RadDocking not showing up in RadPanelBar

1 Answer 114 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Dragan
Top achievements
Rank 1
Dragan asked on 31 Mar 2011, 03:43 PM
Hi,
I have used RadDocking inside the RadTile and it works as advertised. However, when I embedded it inside RadPanelBaritem my entire application went blank. I have also tried using it inside the Accordion control with the same result. At design-time, the control behaves normally. What am I doing wrong?

<UserControl x:Class="VectorScaling.MainPage"
  
  
  
  
  
  
mc:Ignorable="d"
  
  
d:DesignHeight="600" d:DesignWidth="800" >
  
<Grid Background="White">
  
<telerik:RadPanelBar telerik:StyleManager.Theme="Windows7" 
  
ExpandMode="Multiple"
  
Name="radPanelBar1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  
<telerik:RadPanelBarItem Header="Responsibility" IsExpanded="True">
  
<telerik:RadDocking>
  
<telerik:RadDocking.DocumentHost>
  
<telerik:RadSplitContainer>
  
<telerik:RadPaneGroup>
  
<telerik:RadPane Header="test">
  
<TextBlock Text="test"></TextBlock>
  
</telerik:RadPane>
  
<telerik:RadPane>
  
</telerik:RadPane>
  
</telerik:RadPaneGroup>
  
</telerik:RadSplitContainer>
  
</telerik:RadDocking.DocumentHost>
  
</telerik:RadDocking>
  
</telerik:RadPanelBarItem>
  
</telerik:RadPanelBar>
  
</Grid>
  
</UserControl>
 

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 04 Apr 2011, 11:21 AM
Hello Dragan,

 
The RadPanelBarItem measures its content with infinity, but the RadDocking control cannot be measured with infinity - this is a known limitation. I would suggest you to set RadDocking.AllowUnsafeMode property to True, or to set size for the RadDocking control.

I hope this helps.

Best wishes,
George
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
Dragan
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or