c# aspx change response file name code example
Example: c# response.contenttype set filename
Response.AppendHeader("Content-Disposition", "attachment; filename=MyFile.pdf");
Response.AppendHeader("Content-Disposition", "attachment; filename=MyFile.pdf");