Steps to reproduce:
This happens after calling RunExport.
I attached a gif and a sample project.
I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.
I have also updated your Telerik points.
Currently, the possible solution that I can suggest is to save the layout before performing the export functionality and restore it after that:
private void RadButtonExportToExcel_Click(object sender, EventArgs e){ this.radGridView.CurrentRow = null; string s = "default.xml"; this.radGridView.SaveLayout(s); var cvsExporter = new ExportToExcelML(this.radGridView); var path = Path.GetTempFileName(); path = Path.ChangeExtension(path, "xls"); cvsExporter.RunExport(path); this.radGridView.LoadLayout(s);}
I would also recommend you to use the new GridViewSpreadExport which utilized the RadSpreadProcessing library.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik