locked
Disable Save Button in file download window RRS feed

  • Question

  • User-1515552555 posted

    I have a ASP Page that allow the users to Download a File @ the Click of the button the File Download Dialog Box will pop up on the Screan ,on the download dialog Box are 4 buttons namely Open ,Save,Cancel and More Info , How do I disable Save Button on the Dialog box ?

        If anybody know the solution,tel me the process.

     

    Thanks and Regards,

    Archana 

     

    Monday, January 12, 2009 6:09 AM

Answers

  • User1616291716 posted

    I have a ASP Page that allow the users to Download a File @ the Click of the button the File Download Dialog Box will pop up on the Screan ,on the download dialog Box are 4 buttons namely Open ,Save,Cancel and More Info , How do I disable Save Button on the Dialog box ?

        If anybody know the solution,tel me the process.

     

    Thanks and Regards,

    Archana 

     

    As far as I know, this is the behavior of Browser. You can not operate it directly.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 15, 2009 4:09 AM

All replies

  • User-852894958 posted

    Hi Archana,

    You can achieve this with javascript

     Check out http://www.plus2net.com/javascript_tutorial/enable-disable.php

     

    Thanks,

    Farooq

    Monday, January 12, 2009 6:19 AM
  • User1616291716 posted

    I have a ASP Page that allow the users to Download a File @ the Click of the button the File Download Dialog Box will pop up on the Screan ,on the download dialog Box are 4 buttons namely Open ,Save,Cancel and More Info , How do I disable Save Button on the Dialog box ?

        If anybody know the solution,tel me the process.

     

    Thanks and Regards,

    Archana 

     

    As far as I know, this is the behavior of Browser. You can not operate it directly.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, January 15, 2009 4:09 AM
  • User-2047138173 posted

    Okay I found it for anyone stumbling upon this conundrum in the future. Add the following tag to you head section: <meta name="DownloadOptions" content="nosave" />
    and the file download dialog box will not display the "save" option.

    For the user to not open/run but save replace "nosave" with "noopen"


    -Cheers.



    Thursday, July 1, 2010 5:01 PM
  • User1264688959 posted

    works fine for "nosave" and "noopen". but it doesn't work for "nocancel"

    any specific reason why it doesn't work for cancel?

    Tuesday, April 12, 2011 4:41 PM
  • User-924722106 posted

    It doesnt work when we have MasterPage in application, any suggestion?

    Friday, October 14, 2011 2:47 AM
  • User1264688959 posted

    what doesn't work? I do have master pages in my application.

    Wednesday, November 2, 2011 5:00 PM