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.
This page will automatically be redirected to the sign-in page in 10 seconds.