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

RegionManager not finding regions in Dock???

1 Answer 135 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Tom Thomas
Top achievements
Rank 1
Tom Thomas asked on 31 Dec 2009, 07:31 PM
If I place a ContentControl defined as a region in CAL inside the radDock:RadDocking window the Region Manager will not find it.

If it is outside it finds it OK?  Thoughts.....

See XMAL below

<

 

Grid x:Name="LayoutRoot">

 

 

 

<Grid.RowDefinitions>

 

 

 

<RowDefinition Height="Auto" />

 

 

 

<RowDefinition Height="*" />

 

 

 

<RowDefinition Height="Auto" />

 

 

 

</Grid.RowDefinitions>

 

 

 

<!--Header Region -->

 

 

 

<Grid Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">

 

 

 

<!--<ContentControl x:Name="HeaderRegionContentControl" cal:RegionManager.RegionName="HeaderRegion" ></ContentControl>-->

 

 

 

<StackPanel Grid.Column="1" HorizontalAlignment="Right" Margin="4" Orientation="Horizontal">

 

 

 

<Button Content="Search Customers" Width="120" Height="22" Click="OnSearchCustomers"/>

 

 

 

<Button Content="Search Contacts" Width="120" Height="22" Click="OnSearchContacts"/>

 

 

 

</StackPanel>

 

 

 

</Grid>

 

 

 

<radDock:RadDocking x:Name="radDocking" Grid.Row="1">

 

 

 

<radDock:RadDocking.DocumentHost>

 

 

 

<radDock:RadSplitContainer>

 

 

 

<radDock:RadPaneGroup x:Name="radMainGroup">

 

 

 

<radDock:RadDocumentPane Title="Main Content Region" CanFloat="False" CanUserClose="False">

 

 

 

<radDock:RadDocumentPane.Content>
Region Manager will not find this

 

 

 

<ContentControl x:Name="MainContentControl" cal:RegionManager.RegionName="MainContentRegion"></ContentControl>

 

 

 

</radDock:RadDocumentPane.Content>

 

 

 

</radDock:RadDocumentPane>

 

 

 

</radDock:RadPaneGroup>

 

 

 

</radDock:RadSplitContainer>

 

 

 

</radDock:RadDocking.DocumentHost>

 

 

 

<radDock:RadSplitContainer radDock:DockingPanel.InitialSize="235,235" MaxWidth="600" Name="LeftContainer" InitialPosition="DockedLeft">

 

 

 

<radDock:RadPaneGroup x:Name="Group1">

 

 

 

<radDock:RadPane x:Name="PanelTreeView" Header="Document Explorer" CanDockInDocumentHost="False" CanUserClose="False" CanFloat="False">

 

 

 

<!--<ContentControl x:Name="NavigationContentControl" cal:RegionManager.RegionName="NavigationRegion" ></ContentControl>-->

 

 

 

</radDock:RadPane>

 

 

 

</radDock:RadPaneGroup>

 

 

 

</radDock:RadSplitContainer>

 

 

 

</radDock:RadDocking>

 

 

 

 

 

<StackPanel Grid.Row="2" HorizontalAlignment="Left" Orientation="Horizontal">

 

 

 

<TextBlock Text="Status Bar" Margin="2"/>

 

 

 

</StackPanel>

 

 

 

</Grid>

 

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 04 Jan 2010, 03:04 PM
Hello Tom Thomas,

Please refer to our forum thread where you can find interesting notes regarding the usage of Prism and RadDocking.

Kind regards,
Kaloyan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Docking
Asked by
Tom Thomas
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or