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

Pdf not shown correctly in PdfViewer

1 Answer 111 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Daní
Top achievements
Rank 1
Daní asked on 01 Mar 2012, 06:15 PM
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.

1 Answer, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 05 Mar 2012, 05:37 PM
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.

Greetings,
Kammen
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
PDFViewer
Asked by
Daní
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Share this question
or