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");
精彩评论