开发者

issue in excel exporting with chrome12

开发者 https://www.devze.com 2023-04-07 13:16 出处:网络
I have a asp.net web application which exports the data into an excel sheet. This function is perfectly working in firefox, IE and chrome5.XX But not in chrome 12.XXX..

I have a asp.net web application which exports the data into an excel sheet. This function is perfectly working in firefox, IE and chrome5.XX But not in chrome 12.XXX.. it generated the file as report.aspx in开发者_如何学Pythonsted of report.xls. any idea..?

Thanks in advance.


Even I had the same problem and it is working fine with the below code:

Response.AddHeader("Content-Disposition", "attachment;filename=FileName.xls");
0

精彩评论

暂无评论...
验证码 换一张
取 消