This is a migrated thread and some comments may be shown as answers.

Html Place Holder PDF Content not Appear in The Selected Place

1 Answer 28 Views
HTMLPlaceHolder
This is a migrated thread and some comments may be shown as answers.
Ahmed
Top achievements
Rank 1
Ahmed asked on 25 Dec 2010, 09:25 AM
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>

1 Answer, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 25 Dec 2010, 08:53 PM
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
Tags
HTMLPlaceHolder
Asked by
Ahmed
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or