- Home
- Forum
- ASP.NET MVC
- Grid Excel export in firefox not giving file extension and full name
Grid Excel export in firefox not giving file extension and full name
Hi Robert,
Thanks for contacting Syncfusion support.
The exporting file extension issue will occur when the file name is not declared with extension as “.xlsx”. We need to specify the extension, otherwise it will export as file format. This issue occurs with all the browsers not only in Firefox browser.
Please refer to the code example for file name extension,
|
public void ExportToExcel(string GridModel) { ExcelExport exp = new ExcelExport(); var DataSource = new NorthwindDataContext().OrdersViews.ToList(); GridProperties obj = ConvertGridObject(GridModel); exp.Export(obj, DataSource, "Export.xlsx", ExcelVersion.Excel2010, false, false, "flat-saffron"); |
Sample : http://www.syncfusion.com/downloads/support/forum/121047/ze/Sample_121047-1057403082
Check the attached sample with Firebox browser. The same issue is reproduced in this sample and it is a browser issue. Please share the following information to sort out the case of the issue and provide the prompt solution.
1. Firefox browser version.
2. Server side code example.
3. Screenshot of the exported Grid.
4. If you are using any workaround in your sample related to export, please share that codes too.
5. Issue reproducing sample, if it is possible or server hosted link for the sample.
Regards,
Sellappandi R
We have analyzed the reported issues, It’s an firefox browser issue, please refer to the below thread where user reported this issue as bug in Mozilla support.
Thread Link: https://bugzilla.mozilla.org/show_bug.cgi?id=221028
Further analyzing on this issue, we found the extension file to resolve the reported issue. Please download the extension file from following link location and install to Firefox browser.
Extension: http://www.polarcloud.com/truncfix
Regards,
Sellappandi R
- 4 Replies
- 2 Participants
-
RD Robert David
- Nov 5, 2015 04:22 PM UTC
- Nov 9, 2015 11:29 AM UTC