How to set WISEJ PDFViewer download file name when load from memory stream: OREPORTCOntainer.OPdfViewer.PdfStream= ms

0
0

Hi dear Team,

How to set WISEJ PDFViewer download file name when load from memory stream: OREPORTCOntainer.OPdfViewer.PdfStream= ms

The file name is always “Document.pdf”

Kind regards!

 

  • You must to post comments
0
0

Hello,

You can’t do that out of the box. There’s not a property or method for it in the PDFViewer documentation

The pdf viewers use the URL as the file name- they don’t care about the filename field in the header response.

Check out this forum post for a workaround- you can override the IWisejHandler interface in a subclass of PdfViewer.

-Julie

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.