Hi ,
I am using RadPdfViewe but unable to load the PDF .
Iam following bellow link http://www.telerik.com/help/silverlight/radpdfviewer-showing-a-file.html for reference
my requirment is I have a PDF file in C:\Ramesh\Books\Sample.pdf .
How can I load it when I click on a button .
Bellow is my code kindly help me .
I am using RadPdfViewe but unable to load the PDF .
Iam following bellow link http://www.telerik.com/help/silverlight/radpdfviewer-showing-a-file.html for reference
my requirment is I have a PDF file in C:\Ramesh\Books\Sample.pdf .
How can I load it when I click on a button .
Bellow is my code kindly help me .
<
UserControl
x:Class
=
"PDFViewerTelerikDemoMVVM.MainPage"
xmlns:x
=
6/xaml"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"400"
>
<
Grid
x:Name
=
"LayoutRoot"
Background
=
"White"
>
<
telerik:RadPdfViewer
x:Name
=
"pdfViewer"
DocumentSource
=
"PDFViewerTelerikDemoMVVM;component/SampleData/Pro.Silverlight.5.in.CSharp.4th.Edition.pdf"
Height
=
"Auto"
Width
=
"Auto"
/>
<!--DocumentSource="PDFViewerTelerikDemoMVVM;component/SampleData/Pro.Silverlight.5.in.CSharp.4th.Edition.pdf"-->
</
Grid
>
</
UserControl
>