Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bringing up the saveas dialog

Status
Not open for further replies.

dominus1

Programmer
Jan 10, 2008
6
US
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
}
}
 
Figured it out finally on IE6 the security setting werent set correctly. They should have been set to medium-low.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top