I am using web excel exporter version 13.2 . But when I deployed my code to server it is not working for internet explorer.
Please help it asap.
Hello Tarun,
Thank you for the code snippet.
I have created a sample in order to represent the issue that you've described above, although I couldn't. I tried my code implementation to be similar to yours. Have a look at the sample and please make the necessary changes in order to invoke the issue on your environment and after that send it back to me. I am also attaching you the exported file.
Code snippet:
Looking forward to hearing from you.
below is response headerCache-Control:"no-cache, no-store"Content-Type:"application/ms-excel"Expires:"-1"Pragma:"no-cache"Is Cache-Control and Pragma creating issues for IE 8?
this.excelExporter.DownloadName = "Dashboard Report " + DateTime.Now.ToString("MM dd yyyy") + ".xls"; this.excelExporter.WorkbookFormat = Infragistics.Documents.Excel.WorkbookFormat.Excel97To2003; Infragistics.Documents.Excel.Workbook wb = new Infragistics.Documents.Excel.Workbook(); wb.Worksheets.Add(Constants.WSDashboardReport); Infragistics.Documents.Excel.Worksheet ws = wb.Worksheets[Constants.WSDashboardReport]; BindExportData(); // binds data to gvProofView from database without paging
updDashboardSearchFilter.Update(); CdtDashboardReportInput objCdtDashboardRptInput = null; objCdtDashboardRptInput = new CdtDashboardReportInput(); objCdtDashboardRptInput = (CdtDashboardReportInput)Session[Constants.SNDashboardRpt]; this.excelExporter.Export(gvProofView, ws, 6, 1);
Okay, looking forward to hearing from you.
Hi Zdravko,
I am not able to export data in IE version 8 only . It is doing great in all other version of IE and other browsers.This is reason i am not getting issue with my code. I am working on it. I will give you my complete solution asap.
Thanks