I have a report viewer in place, and i would like the report in question to be opened in a PDF after the user enters parameters and clicks the submit button (instead of the report being opened in the report viewer window.)
I did some reading elsewhere and found this snippet
rptSP.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, true, "Report");
and i also found a posting where the following was recommended:
Write code to export the report to pdf inside of the CrystalReportViewer_BeforeRenderObject event.
but I haven't made it much past that. Can anyone provide a code example, or link to one which shows this solution in place?