Hi there,<BR><BR>I have an aspx page that allows users to enter several parameters using drop downs and text boxes. The users then press a button that produces an extract based on the parameters they entered. When this button is pressed and extract is prduced and IE&#039;s standard Open/Save dialog should popup so they can navigate to the directory to save the extract in, or if they want, they can choose to open and view the extract without saving it.<BR><BR>To make the Open/Save dialog popup, my code-behind uses the Response object and appends headers and sets the content type. So far so good. When the extract is a text file named using the .txt file extension, everything works as expected. However, when the extract is a comma separated file named using the .csv extension, the Open/Save dialog pops up TWICE when the Open button is pressed in the dialog.<BR><BR>This seems to be related to this known bug in IE:<BR>Microsoft Knowledge Base Article - 238588 - Internet Explorer Prompts the User with Two Open or Save Dialog Boxes<BR><BR>http://support.microsoft.com/default.aspx?scid=kb;EN-US;238588<BR><BR><BR><BR>Does anyone know a work around? And why does this problem only occur with .csv files and not with .txt files?<BR><BR><BR><BR>Here is what my code-behind is doing:<BR><BR> &#039; Turn on buffering if needed<BR> If Not Response.BufferOutput Then<BR> Response.BufferOutput = True<BR> End If<BR><BR> &#039; Clear the current output content from the buffer<BR> Response.Clear()<BR><BR> &#039; Add the header that forces the Download/SaveAs dialog to be displayed and <BR> &#039; specifies the default filename for the dialog<BR> Response.AppendHeader("Content-Disposition", "attachment; filename=" & sFileName)<BR><BR> &#039; Add the header that specifies the file size, so that the browser <BR> &#039; can show the download progress<BR> Response.AppendHeader("Content-Length", sDataToSave.Length.ToString())<BR><BR> &#039; Specify that the response is a stream that cannot be read by the client <BR> &#039; and must be downloaded<BR> Response.ContentType = "application/octet-stream"<BR><BR> &#039; Send the file stream to the client<BR> Response.Write(sDataToSave)<BR><BR> &#039; Send data in buffer and stop the execution of this page to ensure we only send <BR> &#039; the data we want and not other parts of this page<BR> Response.End()