开发者

issue in excel exporting with chrome12

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜