I got an HTMLPlaceholder displaying fine inside a TabControl on a Page, and wanted to change to displaying the information in a ChildWindow.
However, when the ChildWindow, is displayed, the HTMLPlaceHolder is not displaying - just the control containing it.
The XAML is below - any suggestions, please?
Thanks,
James
However, when the ChildWindow, is displayed, the HTMLPlaceHolder is not displaying - just the control containing it.
The XAML is below - any suggestions, please?
Thanks,
James
<controls:ChildWindow x:Class="GlastirSLApplication2.Views.CaseWorkdesk2" |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" |
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" |
xmlns:telerikScheduler="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Scheduler" |
xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" |
xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" |
Width="1024" Height="768" |
Title="Case Workdesk"> |
<Grid x:Name="LayoutRoot" Margin="2"> |
<Grid.RowDefinitions> |
<RowDefinition /> |
<RowDefinition Height="Auto" /> |
</Grid.RowDefinitions> |
<Grid HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" ShowGridLines="True" Grid.Row="0"> |
<Grid.RowDefinitions> |
<RowDefinition Height="25" /> |
<RowDefinition Height="*" /> |
</Grid.RowDefinitions> |
<StackPanel Orientation="Horizontal" Grid.Row="0" > |
<dataInput:Label HorizontalAlignment="Left" Margin="10,0,0,0" Content="Case Number" /> |
<TextBox IsReadOnly="True" x:Name="textBox" HorizontalAlignment="Left" Width="120" Margin="10,0,0,0" Text="{Binding CaseNumber, Mode=OneWay}" TextWrapping="Wrap"/> |
</StackPanel> |
<telerikNavigation:RadTabControl x:Name="tcMain" SelectionChanged="RadTabControl_SelectionChanged" Grid.Row="1"> |
<telerikNavigation:RadTabItem x:Name="tabEditor" Header="Map" > |
<Grid Background="Blue"> |
<Border BorderBrush="Black" BorderThickness="1"> |
<telerik:RadHtmlPlaceholder x:Name="placeEditor" RespectSilverlightLayoutMeasure="True" SourceUrl="/Editor.aspx"/> |
</Border> |
</Grid> |
</telerikNavigation:RadTabItem> |
<telerikNavigation:RadTabItem Header="Diary" IsSelected="True"> |
<telerikScheduler:RadScheduler /> |
</telerikNavigation:RadTabItem> |
<telerikNavigation:RadTabItem Header="Events"/> |
<telerikNavigation:RadTabItem Header="Notes"/> |
</telerikNavigation:RadTabControl> |
</Grid> |
<Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" /> |
<Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" /> |
</Grid> |
</controls:ChildWindow> |