示例#1
0
        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));
        }
示例#3
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));
        }
示例#4
0
        /// <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());
 }
示例#6
0
 public ActionResult ExportReport()
 {
     return(StiMvcViewer.ExportReportResult(SessionParameters.Report));
 }
示例#7
0
 public ActionResult ExportReport()
 {
     return(StiMvcViewer.ExportReportResult(HttpContext));
 }