I’ve dropped a PdfViewer control into my app and I’m giving it a PDF file (generated with PDFSharp) as a memory stream.
When I browse with Chrome, everything works great. When I browse with Edge or IE11, nothing appears; I haven’t tried any other browsers.
Is this expected behavior? I actually can live with this if it’s known limitation – I’ll just need to force a download for unsupported browsers.
Thanks for the info, Luca. Indeed, setting the ViewerType property on the PdfViewer control improved the situation, but for some reason it still doesn’t work in Edge, although the demo site you referenced does. I’m not concerned about that at the moment – I’ll come back to it at some point.
The pdfviewer works with all browsers. There are 4 options:
Try http://demo.wisej.com/codeproject click on Media. The pdf viewer is mozilla and works in all browsers.
I save the pdf to file and show it with pdfviewer.
Please login first to submit.