Hi,
I have used a Telerik Radgrid and I have a button to export the content from radgrid to excel. PFB the code I have used on click of the button
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();
While Debugging, it enters the loop and exits successfully without any exception. But still, it doesn't export to an excel. Please help ASAP!
I have used a Telerik Radgrid and I have a button to export the content from radgrid to excel. PFB the code I have used on click of the button
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();
While Debugging, it enters the loop and exits successfully without any exception. But still, it doesn't export to an excel. Please help ASAP!