I use the following code to generate a save file dialog:
Response.AppendHeader("content-disposition", "attachment; filename=" + name);
Response.WriteFile(Server.MapPath("~/test.html"), true);
Response.End();
Works as intended. However, I would like to remove the “open” button, so I just get the “save as” and “cancel”. Is there any way to generate another kind of dialog?
Found the answer myself: