コード例 #1
0
ファイル: QSCController.cs プロジェクト: Motaghee/WebApi
        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));
        }
コード例 #2
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(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));
        }
コード例 #5
0
 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));
 }