Hi,
I am exporting a grid using "UltraWebGridExporter" it is now opening in a file extension .XLS. I need to open the excel file in .XLSX file format.
How can I do this?
-Thank you.
Hello,
I know this is an old thread but I am experiencing the same and would like to know whether it is possible to export a gird to xlsx as well as specifying the download name. I am currently using UltraWebGridExcelExporter 11.1.
Thanks
I tried with this code. This works when no "downloadname" is set. And it takes the default downlaod name(Untitled).
If I set any "Downloadname" means it doesn't work.
Need your suggestion.
Thanks.
You can set the WorkbookFormat on a newly constructed Workbook immediately before calling the Export method:
Workbook wb = new Workbook();wb.SetCurrentFormat( WorkbookFormat.Excel2007);this.WebGridExcelExporter1.Export( this.WebGrid1, wb);
This is supported in 8.3 and later (please see this thread for precise details).
Cheers,