Is there a way to know when the viewer is done with rendering a report


08-10-2010, 8:11 AM
When a report it being rendered and you try to issue the OpenReport command again an error will be thrown.
What I can't find is an event that is being raised when the viewer is done rendering the report. Is there a way to tell when the viewer is finished with the rendering of a report?

Re: Is there a way to know when the viewer is done with rendering a report


08-11-2010, 7:10 AM
Hello,

You may use RenderingCompleted event of the Windows Report Viewer. This event will fire once the rendering has been completed. Here is the documentation article:
http://www.datadynamics.com/Help/ddReports/DataDynamics.Reports.Windows.Forms~DataDynamics.Reports.Windows.Forms.ReportPreview~RenderingCompleted_EV.html
Amit Pal
GrapeCity- DataDynamics