Html Place Holder PDF Content not Appear in The Selected Place

2 posts, 0 answers
  1. Ahmed
    Ahmed avatar
    55 posts
    Member since:
    Oct 2012

    Posted 25 Dec 2010 Link to this post

    I use HTMLPlaceHolder to View PDF File on Its Content It Works With Me but The Problem The PDF File Not Appear on The Selected Position It Appear Out Of The Grid Row Which is In ChildSilverlight Window Like It Take A margin But I Set Its Margin with 0 Value .... I want It To Appear inside The Selected Row not Outside it

    The Code :
    <controls:ChildWindow x:Class="ITO_REC_2010_11_06.UserControls.Applicant.PreviewCV_UploadedCV"
               xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
               xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
               Width="800" Height="500" 
               Title="Uploaded CV" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" HasCloseButton="False">
        <Grid x:Name="LayoutRoot" Margin="2">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <telerik:RadHtmlPlaceholder HorizontalAlignment="Center" Grid.Row="0" Margin="0" Name="radHtmlPlaceholder1" VerticalAlignment="Center" Width="700" Height="400"  SourceUrl="/ClientBin/Applicant_CV/CrystalReport_ADO_Dataset.pdf"/>
      
            <Button x:Name="CancelButton" Content="Go Back" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
      
        </Grid>
    </controls:ChildWindow>
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 25 Dec 2010 Link to this post

    Hello Ahmed,

    There are known issue when displaying RadHtmlPlaceHolder inside a ChildWIndow. Therefore it is better to place it inside the RadWindow which is designed to work with the RadHtmlPlaceHolder. Give it a try and let us know if it works for you.

    Greetings,
    Tina Stancheva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft banner
Back to Top