This is my problem. I load xml from my database and push it to the client using code. But the problem is that the browser automatically opens that xml instead of offering it
This is explained in this article: http://www.xefteri.com/articles/show.cfm?id=8
The key is in this line:
Response.AddHeader("Content-Disposition", "attachment; filename=" & file.Name)