Custom Progress

Stimulsoft Reports.NET discussion
Post Reply
Jean-Philippe Roques
Posts: 7
Joined: Tue Sep 25, 2007 3:09 am
Location: France

Custom Progress

Post by Jean-Philippe Roques »

Hello,

Is there a way to show the rendering progress of a report in a progressBar of my application. I have checked in reflector but don't find any event.

Maybe the solution is to create a class wich implement IStiProgressInformation and set the Progress property of the report. I'm not sure but when can I set this property to be sure that rendering use my IStiProgressInformation ?

Thank you,
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Custom Progress

Post by Edward »

Hello, Jean-Philippe.

Please create the following Event Handler for obtaining information about the report progress:

Code: Select all

private void OnRendering(object sender, EventArgs e)
{ 
// status is available like that:
((StiReport)sender).StatusString;
} 
Thank you.
Post Reply