Hi All,
I have been trying to find out how to hide the save button in a file download dialog box in a aspx page.I open the attachment like this :
byte[] byteFileContent = (byte[])objContentTable.Rows[0]["theContent"];
Response.ClearContent();
Response.ClearHeaders();
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment;filename=Chapter.pdf");
Response.BinaryWrite(byteFileContent);
Response.End();
i get the file download dialog with open,save and cancel options but i dont want the save option to be given to the user. Can anyone help me on this ?
Thank you