This question is locked. New answers and comments are not allowed.
My application uses RadDocking to create RadPanes. Each RadPane contains a HTMLPlaceHolder control.
Problem 1. When I load the first and the second RadPane it works but when I close one pane then the other pane doesn’t show anything inside HTMLPlaceHolder. It is just a white page inside.
Problem 2. When the first problem happens and I try to create a new RadPane. HTMLPlaceHolder doesn’t show anything.
I have tried the following examples, but none of them work:
http://www.telerik.com/community/forums/silverlight/htmlplaceholder/disappear-when-using-inside-raddocumentpane-docking-tabs.aspx
http://www.telerik.com/community/forums/silverlight/docking/raddocumentpane-closed-or-hidden.aspx
The HTMLPlaceHolder control is defined inside a DataTemplate of an ItemsControl like this:
I am using version 2012_2_1009 and I can't easily upgrade to the latest version because of breaking changes and a lot of modules that needs modifications, so any suggestions for workarounds is happily accepted!
Problem 1. When I load the first and the second RadPane it works but when I close one pane then the other pane doesn’t show anything inside HTMLPlaceHolder. It is just a white page inside.
Problem 2. When the first problem happens and I try to create a new RadPane. HTMLPlaceHolder doesn’t show anything.
I have tried the following examples, but none of them work:
http://www.telerik.com/community/forums/silverlight/htmlplaceholder/disappear-when-using-inside-raddocumentpane-docking-tabs.aspx
http://www.telerik.com/community/forums/silverlight/docking/raddocumentpane-closed-or-hidden.aspx
The HTMLPlaceHolder control is defined inside a DataTemplate of an ItemsControl like this:
<ItemsControl ItemsSource="{Binding PuffSizeItems}"> <ItemsControl.ItemTemplate> <DataTemplate> <StackPanel Margin="0 0 0 15" Orientation="Vertical" HorizontalAlignment="Left"> <TextBlock> <Run Text="{Binding Name}" /> <Run Text=" (" /> <Run Text="{Binding OriginalWidth}" /> <Run Text="x" /> <Run Text="{Binding OriginalHeight}" /> <Run Text=")" /> </TextBlock> <Grid> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Border Grid.Row="0" Grid.Column="0" HorizontalAlignment="Left" Style="{StaticResource StandardToolbarStyle}" Width="{Binding BorderWidth,Converter={StaticResource BorderAddSizeConverter}}" Background="White" BorderThickness="1" Height="{Binding BorderHeight,Converter={StaticResource BorderAddSizeConverter}}"> <telerik:RadHtmlPlaceholder DataContext="{Binding}" Width="{Binding PlaceholderWidth}" Height="{Binding PlaceholderHeight}" SourceUrl="{Binding PuffPreviewUrl}" Loaded="RadHtmlPlaceholder_Loaded" KeepContentInMemory="True" /> </Border> <telerik:RadButton Grid.Row="0" Grid.Column="1" DataContext="{Binding}" BorderThickness="0" Padding="0" Margin="5 0 0 0" Background="Transparent" VerticalAlignment="Top" Click="SettingsRadButton_Click"> <Image Source="../../Assets/Images/UI/Icons/settings.png" Width="16" Height="16" Stretch="Fill" /> </telerik:RadButton> </Grid> <TextBlock Grid.Column="0" Grid.Row="0" Text="{Binding IsAutoPuff,Converter={StaticResource BooleanAutoPuffToStringConverter}}" /> </StackPanel> </DataTemplate> </ItemsControl.ItemTemplate></ItemsControl>I am using version 2012_2_1009 and I can't easily upgrade to the latest version because of breaking changes and a lot of modules that needs modifications, so any suggestions for workarounds is happily accepted!