public ActionResult ExportReport() { //var report = StiMvcViewer.GetReportObject(); //var parameters = StiMvcViewer.GetRequestParams(); //if (parameters.ExportFormat == StiExportFormat.Pdf) //{ // // Some actions with report when exporting to PDF //} return(StiMvcViewer.ExportReportResult(this.HttpContext)); }
public ActionResult ExportReport() { var report = StiMvcViewer.GetReportObject(); var parameters = StiMvcViewer.GetRequestParams(); if (parameters.ExportFormat == StiExportFormat.Pdf) { // Some actions with report when exporting to PDF } return(StiMvcViewer.ExportReportResult(report)); }
public ActionResult ExportReport() { StiReport report = StiMvcViewer.GetReportObject(); StiJavascriptParameters vars = StiMvcViewer.GetViewerParameters(); if (vars.Options.ExportFormat == StiExportFormat.Pdf) { // Some actions with report when exporting to PDF } return(StiMvcViewer.ExportReportResult(report)); }
/// <summary> /// /// </summary> /// <returns></returns> public virtual async Task <ActionResult> DetailExportReport() { StiReport report = StiMvcViewer.GetReportObject(); //StiRequestParams parameters = StiMvcViewer.GetRequestParams(); //if (parameters.ExportFormat == StiExportFormat.Pdf) //{ // // Some actions with report when exporting to PDF //} return(StiMvcViewer.ExportReportResult(report)); }
public ActionResult ExportReport() { return(StiMvcViewer.ExportReportResult()); }
public ActionResult ExportReport() { return(StiMvcViewer.ExportReportResult(SessionParameters.Report)); }
public ActionResult ExportReport() { return(StiMvcViewer.ExportReportResult(HttpContext)); }