View files in read only mode in pdf viewer

2 posts, 0 answers
  1. Nutan
    Nutan avatar
    2 posts
    Member since:
    Jun 2012

    Posted 08 Jun 2012 Link to this post

    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.
  2. Iva Toteva
    Iva Toteva avatar
    1319 posts

    Posted 08 Jun 2012 Link to this post

    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 >>

Back to Top