Blank RadHTMLPlaceholder when loaded, have to resize with split container to display it.

2 posts, 0 answers
  1. Guy
    Guy avatar
    46 posts
    Member since:
    Nov 2008

    Posted 16 Jul 2015 Link to this post


     I am trying to display a web page using the RadHtmlPlaceholder, as shown in the following code block. The problem is when it first shows up, there is nothing displayed, only a white page. Then, if I resize the container using the RadSplitContainer, the RadHtmlPlaceholder seems to redraw and it displays correctly.


    Any idea of what could cause this bug ? Could I force the resize event to make the web page appear ?

    Thank you


    01.<Grid >
    02.    <telerik:RadDocking Grid.Row="1" Grid.ColumnSpan="2" x:Name="_NecDocking" Visibility="{Binding IsMainWorkAreaVisible, Converter={StaticResource VisibilityConverter}}" telerik:StyleManager.Theme="Office_Blue" >
    03.        <telerik:RadDocking.DocumentHost>
    04.            <telerik:RadSplitContainer>
    05.                <telerik:RadPaneGroup Name="MainPane"
    06.                              ctrl:PaneGroupExtensions.ItemsSource="{Binding NecPaneEntityList}"
    07.                              ctrl:PaneGroupExtensions.ItemTitleDisplayMemberPath="HeaderText"
    08.                              ctrl:PaneGroupExtensions.ItemToolTipDisplayMemberPath="ToolTipText"
    09.                              ctrl:PaneGroupExtensions.ItemIsHiddenDisplayMemberPath="IsNecControlHidden" 
    10.                              DropDownDisplayMode="Visible">
    11.                    <ctrl:PaneGroupExtensions.ItemHeaderTemplate>
    12.                        <DataTemplate>
    13.                            <StackPanel Orientation="Horizontal" VerticalAlignment="Center">
    14.                                <Image Source="{Binding Img}" Margin="2"></Image>
    15.                                <TextBlock Text="{Binding HeaderText}" Margin="2" ToolTipService.ToolTip="{Binding ToolTipText}" />
    16.                                <Button  Style="{StaticResource CloseButton}" Margin="10,0,0,0" Content="M0,0 L6,6 M6, 0 L0,6" >
    17.                                    <i:Interaction.Triggers>
    18.                                        <i:EventTrigger EventName="Click">
    19.                                            <fx:InvokeDelegateCommandAction Command="{StaticResource BtnClosePane}"
    20.                                                                    CommandParameter="{Binding RelativeSource={RelativeSource Self},Path=InvokeParameter}"/>
    21.                                        </i:EventTrigger>
    22.                                    </i:Interaction.Triggers>
    23.                                </Button>
    24.                            </StackPanel>
    25.                        </DataTemplate>
    26.                    </ctrl:PaneGroupExtensions.ItemHeaderTemplate>
    27.                </telerik:RadPaneGroup>
    28.            </telerik:RadSplitContainer>
    29.        </telerik:RadDocking.DocumentHost>
    30.    </telerik:RadDocking>

  2. Kiril Vandov
    Kiril Vandov avatar
    323 posts

    Posted 21 Jul 2015 Link to this post

    Hello GuyGirouard,

    I have tried to reproduce the issue that you have described on our side but with no success. I did not saw where you insert the RadHtmlPlaceHikder but I assume that is it in RadPane inside the host in your code-snippet, I have also noticed that you have some custom extension. That is why I would like to ask you for more information and a sample project reproducing the issue. Doing so we will be able to better understand your scenario and provide you with the best possible solution for you.

    Looking forward to hearing from you.

    Kind regards,
    Kiril Vandov
    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 Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top