Hi.
i have developed my custom module in which i can export the data in .CSV format.i can download the file in FireFOx but m getting problems in IE7.Below is my code
Response.Clear();
Response.AddHeader("Cache-Control", "no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0");
Response.AddHeader("Content-transfer-encoding", "binary");
Response.AddHeader("Pragma", "anytextexeptno-cache, true");
Response.AddHeader("Content-Disposition", "attachment; filename=" + orderfileName + ".csv");
Response.AddHeader("Content-Length", Convert.ToString(contents.Length));
Response.ContentType = "application/ms-excel";
Response.Write(contents);
Response.End();
When i click the "Export to Excel" button in my module i get following error.
Internet Explorer cannot download Default.aspx from www.emo.ie.
Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later.
Any help would be greatly appreciated.
thanks.