![]() |
| ||
| How to Block Save button in FileDownload dialog box ? 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 |
| All times are GMT -4. The time now is 2:24 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC