Esempio n. 1
0
        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));
        }