Cancel the report rendering (e.g. on keystroke)

Stimulsoft Reports.NET discussion
Post Reply
efi
Posts: 4
Joined: Fri Jun 15, 2007 2:07 am
Location: Germany

Cancel the report rendering (e.g. on keystroke)

Post by efi »

Hi,

When rendering a report with

Code: Select all

Report.Render(true);
the user can cancel the rendering process in the progress dialog window.


Ist there any elegant way to provide this cancel functionality when using

Code: Select all

Report.Render(false);
(for example by letting the user press the [ESC] key)?


I am unsure whether

Code: Select all

Report.Stop = true;
can help, but the quickTip says it should not be used and I would maybe have concerns about thread safety there, too.


Thanks in advance.
Guest
Posts: 182
Joined: Tue Jun 06, 2006 8:04 am

Cancel the report rendering (e.g. on keystroke)

Post by Guest »

The description about this property(Report.Stop) has become outdated. We remake this property and you can use it without worries.

Thank you.
Post Reply