I use FileContentResult to return a byte array created by the PDF system for viewing or loading by the user. It works great.
public FileContentResult ViewReport()
{
HttpContext.Response.AddHeader("content-disposition", "attachment; filename=" + myFileName);
return File(myByteArray, "application/pdf");
}
I would like to know if it is possible to hide the source in the download dialog?
i.e. Hide or remove the string "from" in the dialog box,
http://i1216.photobucket.com/albums/dd364/nolana22/Download_Dialogue.png
source
share