Exemplo n.º 1
0
        public void CSVExport()
        {
            PivotGridCSVExport pGrid    = new PivotGridCSVExport();
            string             args     = System.Web.HttpContext.Current.Request.Form.GetValues(0)[0];
            string             fileName = "Sample";

            pGrid.ExportToCSV(fileName, args, System.Web.HttpContext.Current.Response);
        }
Exemplo n.º 2
0
        protected void PivotGrid_ServerCSVExporting(object sender, Syncfusion.JavaScript.Web.PivotGridEventArgs e)
        {
            PivotGridCSVExport pGrid    = new PivotGridCSVExport();
            dynamic            args     = e.Arguments;
            string             fileName = "Sample";

            pGrid.ExportToCSV(fileName, args["args"].ToString(), HttpContext.Current.Response);
        }