How to create a pdf file when loading the Report.
mohanaraj
600001
Dear Alex,
How generate and save the pdf file in the given path while the report loading. I use the below code to export report to pdf file in the reports_StartReport event, This will create the pdf file but not display the report in the page.
Please advice.
FReport.Prepare();
PDFExport export = new PDFExport();
FReport.Export(export, HttpContext.Current.Server.MapPath("result.pdf"));
FReport.Dispose();
Thank you.
How generate and save the pdf file in the given path while the report loading. I use the below code to export report to pdf file in the reports_StartReport event, This will create the pdf file but not display the report in the page.
Please advice.
FReport.Prepare();
PDFExport export = new PDFExport();
FReport.Export(export, HttpContext.Current.Server.MapPath("result.pdf"));
FReport.Dispose();
Thank you.
Comments
Please show me the full code of your WebReport_StartReport event.