Page 1 of 1

Pop up with ResponseAsPdf

Posted: Sun Jan 20, 2008 7:37 am
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

Pop up with ResponseAsPdf

Posted: Tue Jan 22, 2008 1:42 am
by Edward
Please add the following line of code before the ResponseAsPdf command:

Code: Select all

_report.IsRendered = false;
Thank you.

Pop up with ResponseAsPdf

Posted: Sat Jan 26, 2008 5:55 am
by agorin
:biggrin:

Thanks!!!! I try this!

Andrea