Hi,
I'm working on a C# ASP.NET web application that generates a table & then lets the user download the results as a tab delimited text file to view in excell. I'm using the following header to set the MIME type to let the browser know to open or download the file:
<% Response.ContentType = "application/vnd.ms-excel"; %>
Now, I.E. lets you open or save the file as DatabaseSearch.xls, but FireFox makes the name DatabaseSearch.aspx by default.
Does anyone know a way to control the name of the file as it shows up in the open/save dialog box? If I could control the name completely, I might make it something like Table.csv and then make it a comma separated value file.
William Deich