Пример #1
0
        public object PostDesignerAction([FromBody] Dictionary <string, object> jsonResult)
        {
            string reportType = "";

            if (jsonResult.ContainsKey("customData"))
            {
                string customData = jsonResult["customData"].ToString();
                reportType = (string)(JsonConvert.DeserializeObject(customData) as dynamic).reportType;
            }
            this.Server.reportType = String.IsNullOrEmpty(reportType) ? "RDL" : reportType;
            return(ReportDesignerHelper.ProcessDesigner(jsonResult, this, null, this._cache));
        }
Пример #2
0
 public object PostDesignerAction(Dictionary <string, object> jsonResult)
 {
     return(ReportDesignerHelper.ProcessDesigner(jsonResult, this, null));
 }
Пример #3
0
 public object GetImage(string key, string image)
 {
     return(ReportDesignerHelper.GetImage(key, image, this));
 }
Пример #4
0
 public void UploadReportAction()
 {
     ReportDesignerHelper.ProcessDesigner(null, this, HttpContext.Current.Request.Files[0]);
 }
 public object PostFormDesignerAction()
 {
     return(ReportDesignerHelper.ProcessDesigner(null, this, null, this._cache));
 }
 public object PostDesignerAction([FromBody] Dictionary <string, object> jsonResult)
 {
     return(ReportDesignerHelper.ProcessDesigner(jsonResult, this, null, this._cache));
 }
 public void UploadReportAction()
 {
     ReportDesignerHelper.ProcessDesigner(null, this, this.Request.Form.Files[0], this._cache);
 }