Hi There,
I am trying to Wrap a RadDocking Component with a StackPanel so that i can have a Banner bar on the top of my Application.
The problem is that When i Add the <StackPanel Orientation="Vertical"> and compile and run the Silverlight application, the Silverlight Plugin actually crashes.
Is there are a reason why we can not wrap a <StackPanel> arround a <RadDocking>
If you use the code below and remove the <StackPanel> the application will run and work fine in Internet Explorer and FireFox.
XAML Code is below.
<Grid.Resources>
<conv:UserDetailsConverter x:Key="userDetailsConverter"/>
</Grid.Resources>
<StackPanel Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<StackPanel.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
<GradientStop Color="#FF200B5C" Offset="0"/>
<GradientStop Color="#FF1E0DE5" Offset="0.845"/>
</LinearGradientBrush>
</StackPanel.Background>
<TextBlock Text="AZTEC BACKSTAGE" Foreground="White" FontSize="15" Margin="10" FontWeight="Bold" />
<TextBlock Text="{Binding UserContext, Converter={StaticResource userDetailsConverter}}" Foreground="White" FontSize="12"
VerticalAlignment="Center" Margin="10" />
<Button Content="Log Out" Height="22" Width="60" Margin="5" Click="LogOutButton_Click"/>
</StackPanel>
<telerik:RadDocking x:Name="radDocking1">
<telerik:RadSplitContainer x:Name="MainContainer" telerik:DockingPanel.InitialSize="600,600" InitialPosition="DockedTop">
<telerik:RadPaneGroup x:Name="MasterViewGroup">
<telerik:RadPane x:Name="ApplicationPane" CanFloat="False" CanUserClose="False" CanDockInDocumentHost="False" CanUserPin="False" >
<sdk:Frame x:Name="masterViewFrame"/>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
<telerik:RadSplitContainer telerik:DockingPanel.InitialSize="130,130"
Name="bottomContainer" InitialPosition="DockedBottom">
<telerik:RadPaneGroup x:Name="ApplicationGroupPane" >
<telerik:RadPane x:Name="applicationPaneHolder" Header="Applications" IsPinned="True">
<ListBox x:Name="applicationListBox"
ItemsSource="{Binding applicationList, Mode=TwoWay}"
ItemTemplate="{StaticResource ApplicationItemTemplate}"
ItemsPanel="{StaticResource ApplicationItemPanelTemplate}"
SelectionChanged="applicationListBox_SelectionChanged"
Margin="0,4"
/>
</telerik:RadPane>
</telerik:RadPaneGroup>
</telerik:RadSplitContainer>
</telerik:RadDocking>
</StackPanel>
<telerik:RadBusyIndicator x:Name="mainBusyIndicator" IsBusy="{Binding DataServicesAreBusy, Mode=TwoWay}" BusyContent="{Binding BusyContentText,
Mode=TwoWay}" />
</Grid>
Thank you very much for you help.