WebExcelExporter1.DataExportMode = DataExportMode.AllDataInDataSource WebExcelExporter1.ExportMode = ExportMode.InBrowser WebExcelExporter1.WorkbookFormat = Infragistics.Documents.Excel.WorkbookFormat.Excel2007 WebExcelExporter1.DownloadName = "Report" & DateTime.Now.ToString("_HHmmss_MMddyyy") & ".xlsx" The format of the Excel file is 2007; however, the extension appended to the download name is .xls We can open the file in Excel 2007 after removing the .xls extension.
Hello,
I was not able to see the behavior you described in our online sample on the below link:
http://ko.infragistics.com/products/aspnet/sample/data-grid/excel-exporter
To test the behavior you described I selected “Excel 2007 Format” radio button from the Format group. It show the ExportedData.xslx file when I click on the “Export” button. In order to look in to this provide me with the version of NetAdvantage product you are using so I may look in to this.
I hope this helps.
NetAdvantage 2012.2 ASP.NET CLR 4.0
Version: 12.2.20122.2075