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

View files in read only mode in pdf viewer

1 Answer 225 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Nutan
Top achievements
Rank 1
Nutan asked on 08 Jun 2012, 11:42 AM
Hello,
I need to use pdf viewer where in i should be able to view file but not download it. I tried pdf viewer telerik silver-light control but it gives me error. Can you please provide me a running sample for the same.
Thank in advance.

1 Answer, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 08 Jun 2012, 04:19 PM
Hello Nutan,

I am afraid I don't quite understand the problem you have encountered.

When it comes to getting started with RadPdfViewer - adding assembly references, declaring namespaces, etc., you can refer to this article.
As for showing a PDF file, this can be done either by the UI (which uses a command that opens a file using the OpenFileDialog) or programmatically, as described here. Note that files can be loaded by passing a URI as long as the URI specifies a path to a PDF file, that can be resolved. In Silverlight, that requires a permissive cross-domain policy file.

With regard to the download functionality - RadPdfViewer does not allow saving the PDF document.

I hope this helps.

All the best,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
PDFViewer
Asked by
Nutan
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Share this question
or