Hi,
I am using telerik report for my project, the reports generated are very big and thus time consuming.That is teh reason what we are doing is :
Generating summary report on the button click and sending the another asynchorous request for the detailed report. As that request might take upto 15mins to generate taht report and we can't ask our website user's to wait for the report generation for such a long period.The user can view report in PDF format as and when it ready though async request.
The problem we are facing is that the summary report is not rendered until the PDF that is being generated through asyn request. This is due to the reason that only 1 instance of the report is avaliable for both the requests. Dont know what is the intance for it.
Please reply.
Thanks and Regards,
Yuvika
I am using telerik report for my project, the reports generated are very big and thus time consuming.That is teh reason what we are doing is :
Generating summary report on the button click and sending the another asynchorous request for the detailed report. As that request might take upto 15mins to generate taht report and we can't ask our website user's to wait for the report generation for such a long period.The user can view report in PDF format as and when it ready though async request.
The problem we are facing is that the summary report is not rendered until the PDF that is being generated through asyn request. This is due to the reason that only 1 instance of the report is avaliable for both the requests. Dont know what is the intance for it.
SearchAnalysisReportPDF rpt = new SearchAnalysisReportPDF(dsSearchReport); |
ReportProcessor reportProcessor = new ReportProcessor(); |
RenderingResult result = reportProcessor.RenderReport("PDF", rpt , null); |
using (FileStream fs = new FileStream(fileName, FileMode.Create)) |
{ |
fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length); |
fs.Close(); |
} |
Please reply.
Thanks and Regards,
Yuvika