ExportReport() callback

Stimulsoft Reports.WEB discussion
Post Reply
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

ExportReport() callback

Post by brianj774 »

I can't seem to figure out how to detect WHICH export is currently running.

The callback fires no matter which export method I choose, but I have code I wish to execute ONLY on a csv export...

How? Thanks!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ExportReport() callback

Post by HighAley »

Hello.

You could use next code:

Code: Select all

        public ActionResult ViewerExportReport()
        {
            string format = this.HttpContext.Request.Params["exportformat"];
            return StiMvcViewer.ExportReportResult(this.HttpContext);
        }
Thank you.
brianj774
Posts: 177
Joined: Tue Jan 11, 2011 7:15 am
Location: Minnesota

Re: ExportReport() callback

Post by brianj774 »

thanks, thats exactly what I needed.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ExportReport() callback

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you will have any additional question.

Thank you.
Post Reply