XlsIO generated file will be downloaded as .xls format in some browsers by default, even when we add the extension in the file name or set the version for the file. Because of this the downloaded file gets corrupted. To overcome this, set ExcelHttpContentType while saving the file in XlsIO.
Below code snippet demonstrates on how to set ExcelHttpContentType while saving .xlsx format file using XlsIO.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
|4979||05/23/2015||05/23/2015||ASP.NET Web Forms||XlsIO|