Hi,
I have a Telerik Radgrid and I have a button. On click of the button, I try to export the content in the grid to an Excel file. PFB the code I have used for that.
​string alternateText = "ExcelML";
RadGrid1.ExportSettings.Excel.Format = (GridExcelExportFormat)Enum.Parse(typeof(GridExcelExportFormat), alternateText);
RadGrid1.ExportSettings.ExportOnlyData = true;
RadGrid1.ExportSettings.IgnorePaging = true;
RadGrid1.ExportSettings.OpenInNewWindow = true;
RadGrid1.MasterTableView.ExportToExcel();
I have debugged the code and it enters the loop, accesses every line of code and exits the loop with no exception. But the content is not exported to any excel. Please help ASAP
I have a Telerik Radgrid and I have a button. On click of the button, I try to export the content in the grid to an Excel file. PFB the code I have used for that.
​string alternateText = "ExcelML";
RadGrid1.ExportSettings.Excel.Format = (GridExcelExportFormat)Enum.Parse(typeof(GridExcelExportFormat), alternateText);
RadGrid1.ExportSettings.ExportOnlyData = true;
RadGrid1.ExportSettings.IgnorePaging = true;
RadGrid1.ExportSettings.OpenInNewWindow = true;
RadGrid1.MasterTableView.ExportToExcel();
I have debugged the code and it enters the loop, accesses every line of code and exits the loop with no exception. But the content is not exported to any excel. Please help ASAP