The ResponseAsPdf has changed a bit in this version, in the past I was able to add the below in-order to make the pdf be viewed in the browser (and not just download it):
Response.AddHeader("Content-Disposition", "inline; filename=" & """" & _Report.ReportName & ".pdf" & """")
But as of this prerelease I get the below message:
ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
Is there a way to get around this or have a Stimulsoft option to have it shown inline?
Thanks,
Tony
Prerelease 2016.1.8 ResponseAsPdf
Re: Prerelease 2016.1.8 ResponseAsPdf
Hello Tony,
We have made a revision, now the ResponseAsPdf() method will display the report file inline:
StiReportResponse.ResponseAsHtml(StiWebViewer1.Report, false); // inline
StiReportResponse.ResponseAsHtml(StiWebViewer1.Report); // attachment (by default)
The update will be available in the next prerelease build.
Thank you.
We have made a revision, now the ResponseAsPdf() method will display the report file inline:
StiReportResponse.ResponseAsHtml(StiWebViewer1.Report, false); // inline
StiReportResponse.ResponseAsHtml(StiWebViewer1.Report); // attachment (by default)
The update will be available in the next prerelease build.
Thank you.
Re: Prerelease 2016.1.8 ResponseAsPdf
Great, thank you!
Re: Prerelease 2016.1.8 ResponseAsPdf
Hello,
We are always glad to help you!
Let us know if you need any additional help.
Thank you.
We are always glad to help you!
Let us know if you need any additional help.
Thank you.