This is a migrated thread and some comments may be shown as answers.

Report Instance Issue

0 Answers 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Yuvika
Top achievements
Rank 1
Yuvika asked on 27 May 2010, 11:25 AM
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.
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

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Yuvika
Top achievements
Rank 1
Share this question
or