I have a page with the below code, when I load Downloader.aspx in my web browser on ie6 it prompts me with a saveas dialog box to save the file Downloader.xls. When I attempt to do the same in IE7 in brings up a blank window. Any idea why the saveas dialog doesnt appear in IE7?
//code for Downloader.cs
public class Downloader
{
protected void OnLoad(EventArgs e)
{
Response.ContentType = "application/vnd.ms-excel";
BuildTables();
}
protected BuildTables()
{
//code which generates one html table
}
}
//code for Downloader.cs
public class Downloader
{
protected void OnLoad(EventArgs e)
{
Response.ContentType = "application/vnd.ms-excel";
BuildTables();
}
protected BuildTables()
{
//code which generates one html table
}
}