Monday, December 1, 2008

ASP.NET: Hide OPEN button in OPEN,SAVE,CANCEL dialog box

To Hide the OPEN button in the OPEN / SAVE / CANCEL Dialog box

We've to add the following tag in the HEAD tag of the ASP.NET html code:

meta name="DownloadOptions" content="noopen"

In the same way if you want to hide the SAVE button add the following tag:

meta name="DownloadOptions" content="nosave"

No comments: