In my web-application I've created a page with the ReportViewer.
I want to display directly the PDF file without view the report.
In the Page_Load event I've written:
Report1 report = new Report1(cnString, idProduct);
ReportViewer1.Report = report;
//Export to PDF (method from the Telerik Reporting help)
ExportToPDF("Product_" + idProduct, report);
In the local machine it works and I obtain the PDF file, but on the server I get an error.I've copied the following dll on the bin folder on the server:
I want to display directly the PDF file without view the report.
In the Page_Load event I've written:
Report1 report = new Report1(cnString, idProduct);
ReportViewer1.Report = report;
//Export to PDF (method from the Telerik Reporting help)
ExportToPDF("Product_" + idProduct, report);
In the local machine it works and I obtain the PDF file, but on the server I get an error.I've copied the following dll on the bin folder on the server:
- Telerik.Reporting.dll
- Telerik.Reporting.Processing.dll
- Telerik.Reporting.Interfaces.dll
- Telerik.ReportViewer.WebForms.dll