Page 1 of 1

Custom Progress

Posted: Tue Oct 21, 2008 3:27 am
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,

Custom Progress

Posted: Tue Oct 21, 2008 5:04 pm
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.