Pdf not shown correctly in PdfViewer

2 posts, 0 answers
  1. Daní
    Daní avatar
    314 posts
    Member since:
    Feb 2008

    Posted 01 Mar 2012 Link to this post

    Hi everybody,

    I'm facing an strange issue trying to load a remote pdf file. The remote server contains a valid clientaccesspolicyfile.xml. Setting PdfViewer's DocumentSource to an Uri pointing to the remote pdf file the control doesn't load the pdf content correctly (diacritics are not shown, some borders are not shown,...). However, downloading the pdf file to my development PC and setting it as a project resource the content is shown correctly...

    I don't know what can happen.

    Note: I've downloaded the remote file with google chrome and then saving the file from chrome's PdfViewer. I don't know if chrome's pdf viewer performs some transformation that casues fonts and style being "correctly" embedded.
  2. Kammen
    Kammen avatar
    313 posts

    Posted 05 Mar 2012 Link to this post

    Hi Daní,

    Is it possible to send us a demo project that shows this issue to further investigate the problem? Or try to download the file without using the PDFViewer in Chrome.

    Otherwise, you can check if the stream that you get from the Uri (using WebClient) is opening a stream that supports Seek and Read operations. This is vital for RadPdfViewer to work.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top