|
I have the following code
Response.Clear();
Response.Charset = "";
Response.ContentType = "application/vnd.ms-excel";
Response.AddHeader("Content-Disposition", "attachment; filename=\"test.xls\"");
Response.WriteFile(path);
Response.End();
while firefox does what is expected, that is show a dialog with my test.xls to be downloaded or opened, IE does nothing.
Does anyone have any ideas as to what is going on?
Thanks
|