protected void PivotClient1_ServerExporting(object sender, Syncfusion.JavaScript.Web.PivotClientEventArgs e) { PivotClientExport olapClient = new PivotClientExport(); dynamic args = e.Arguments; olapClient.ExportPivotClient(string.Empty, args["args"].ToString(), HttpContext.Current.Response); }
public void ExportPivotClient() { PivotClientExport pivotClient = new PivotClientExport(); string args = HttpContext.Current.Request.Form.GetValues(0)[0]; pivotClient.ExportPivotClient(string.Empty, args, HttpContext.Current.Response); }
public ActionResult ExportPivotClient() { var context = _contextAccessor.HttpContext; var args = context.Request.Form.ElementAt(0).Value; PivotClientExport olapClient = new PivotClientExport(); return(olapClient.ExportPivotClient(string.Empty, args, context.Response)); }
public void ExportPivotClient() { JavaScriptSerializer serializer = new JavaScriptSerializer() { MaxJsonLength = Int32.MaxValue }; PivotClientExport olapClient = new PivotClientExport(); string args = System.Web.HttpContext.Current.Request.Form.GetValues(0)[0]; olapClient.ExportPivotClient(string.Empty, args, System.Web.HttpContext.Current.Response); }