I'm using the ExportType.ExcelXslx to export my grid as "Xslx" file, It's working well.
Unfortunatly, when I try to export the grid as Excel file to an email, the Excel file is corrupt.
I get the e.ExportOutput and get bytes from en AsciiEncoding like I did with ExcelML export type in the GridExporting method.
var gridMemoryStream =
new
MemoryStream(
new
ASCIIEncoding().GetBytes(e.ExportOutput));
What's the proper way to get the "Xlsx" file from an RadGrid at the ExportExcel() without file corruption ?