Page 1 of 1
ExportReport() callback
Posted: Wed Apr 17, 2013 4:34 pm
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!
Re: ExportReport() callback
Posted: Thu Apr 18, 2013 8:29 am
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.
Re: ExportReport() callback
Posted: Thu Apr 18, 2013 1:12 pm
by brianj774
thanks, thats exactly what I needed.
Re: ExportReport() callback
Posted: Fri Apr 19, 2013 9:48 am
by HighAley
Hello.
We are always glad to help you.
Let us know if you will have any additional question.
Thank you.