Page 1 of 1

StiReportResponse not found

Posted: Sun Sep 17, 2017 4:21 am
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

Re: StiReportResponse not found

Posted: Sun Sep 17, 2017 4:34 am
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?

Re: StiReportResponse not found

Posted: Mon Sep 18, 2017 4:40 am
by Edward
Hi Resident,

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

Thank you,
Edward

Re: StiReportResponse not found

Posted: Mon Sep 18, 2017 12:06 pm
by resident96
2013

Re: StiReportResponse not found

Posted: Wed Sep 20, 2017 5:05 am
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