Question : Crystal Report Viewer - Export to/open a PDF after entering parameters

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

1:
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?

Answer : Crystal Report Viewer - Export to/open a PDF after entering parameters

Along with changing the IP address, make sure you allow the 10.0.0.0/24 subnet access to manage it.

conf t
http 10.0.0.0 255.255.255.0 inside
Random Solutions  
 
programming4us programming4us