Excel is not opening properly in ie8

in our code when we will click on button we will get a pop-up with option open ,save and cancel if am try to open the excel in ie8 excel is opening with plain table where as in ie10 it opening properly

Hi,


Well, I think you are referring to Workbook.Save() overload method which contains Response and Content Disposition options in your web project. Well, it might be due you IE browser type issue and nothing to do with Aspose.Cells, as actually when the Download dialog box is displayed, the browser takes the charge.

You may confirm the issue by using the following even without involving Aspose.Cells APIs. For example, you can manually create the sample XLSX file into MS Excel, then use your own code streaming the file without involving Aspose.Cells APIs and response to the client browser (IE8) to check if it works fine or you got the similar problem.
e.g.

Sample code:

FileStream fs1 = new FileStream(“d:\Book1.xlsx”, FileMode.Open, FileAccess.Read);
byte[] data1 = new byte[fs1.Length];
fs1.Read(data1, 0, data1.Length);
this.Response.ContentType = “application/xlsx”;
Response.AddHeader( “content-disposition”,“attachment; filename=outParameterList.xlsx”);
Response.BinaryWrite(data1);
Response.End();

Thank you.