Pop up with ResponseAsPdf

Stimulsoft Reports.NET discussion
Post Reply
agorin
Posts: 14
Joined: Tue Dec 18, 2007 8:33 am
Location: Italy

Pop up with ResponseAsPdf

Post by agorin »

I have a problem with this scenario:

I have a pop-up window that contains as stiWebViewer and this command:

Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf(this, _report, false)

...to have a direct render in pdf format.

But, when I change filter in calling page and re-open pop-up report window, this report window show the precedent "cached" pdf report. Not the actualized report.

Why ??? :redeye:

Can anyone help me?

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

Pop up with ResponseAsPdf

Post by Edward »

Please add the following line of code before the ResponseAsPdf command:

Code: Select all

_report.IsRendered = false;
Thank you.
agorin
Posts: 14
Joined: Tue Dec 18, 2007 8:33 am
Location: Italy

Pop up with ResponseAsPdf

Post by agorin »

:biggrin:

Thanks!!!! I try this!

Andrea
Post Reply