htm file attachments in IE using Content-Disposition don't workhttp://forums.asp.net/t/840956.aspx/1?htm+file+attachments+in+IE+using+Content+Disposition+don+t+workSat, 26 Feb 2005 23:50:08 -0500840956840956http://forums.asp.net/p/840956/840956.aspx/1?htm+file+attachments+in+IE+using+Content+Disposition+don+t+workhtm file attachments in IE using Content-Disposition don't work I'm trying to get rendered html output to open in a new window using the download dialog in IE. The problem is when i click open on the download dlg, the resulting html is opened inline within the original window. Using the following code below, shouldn't it open in a new window since i'm specifying "attachment;filename"? anybody know what's going on? I don't have this problem when sending to word or excel. it only occurs when the file extension is set to .htm. Here's and example behind a button click event: Response.Clear(); Response.ClearContent(); Response.ClearHeaders(); Response.ContentType = "text/html"; Response.AppendHeader("content-disposition","attachment;filename=" + "Test.htm"); Response.Write(html); Response.Flush(); Response.Close(); More Info: This used to work, until i installed XP SP2. Did Microsoft change this functionality in IE XP SP2 version? Thanks in advance. 2005-02-26T23:50:08-05:00