StiReportResponse not found

Stimulsoft Reports.WEB discussion
Post Reply
resident96
Posts: 7
Joined: Thu Sep 07, 2017 6:34 am

StiReportResponse not found

Post by resident96 »

hi my dear friend.

i want print to pdf.
i read this link: export-report-from-code

i using stimulsoft in mvc

when i call StiReportResponse.ResponseAsPdf, occured error "The name 'StiReportResponse' does not exist in the current context"

please help me
resident96
Posts: 7
Joined: Thu Sep 07, 2017 6:34 am

Re: StiReportResponse not found

Post by resident96 »

when i use Stimulsoft.Report.Web.StiReportResponse.ResponseAsPdf, first argument is page,

in mvc , Should I use this function?
What parameter should I use for the first argument?
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: StiReportResponse not found

Post by Edward »

Hi Resident,

Could you please specify what report engine version you are using?

Thank you,
Edward
resident96
Posts: 7
Joined: Thu Sep 07, 2017 6:34 am

Re: StiReportResponse not found

Post by resident96 »

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

Re: StiReportResponse not found

Post by Edward »

Hi Resident,

Yes, that should be fine.

Please check the sample MVC project and the following page that is using the method:

https://github.com/stimulsoft/Samples-A ... troller.cs

Thank you,
Edward
Post Reply