•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 391,710 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,406 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 15660 | Replies: 6
![]() |
•
•
Join Date: Jan 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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 Scream ,on the download dialog Box are 4 buttons namely Open ,Save,Cancel and More Info :mrgreen: ,How do I disable any Button on the Dialog box let say the Save button?????? :mrgreen:
•
•
Join Date: Apr 2004
Location: Springfield, Oregon
Posts: 119
Reputation:
Rep Power: 5
Solved Threads: 6
You can not disable the boxes. They are part of the browser and there is nothing you can do to disable them.
No code in the world can disable them.
No code in the world can disable them.
•
•
Join Date: May 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
Two comments.
First, I haven't seen the "More" button you mention (running IE 7, XP Professional SP2).
Second, scouring the Web brought me no idea of how to control the buttons individually.
However, regarding Open, I noticed that a client OS that was not configured to recognize the file type being downloaded would not know which environment to open, and therefore would not display the "Open" button--for example, the client displayed the download-file name in the File Download Box but Windows did not seem to recognize .doc files, therefore Windows didn't open the file in Word and did not display the Open button, only Save and Cancel.
Also, I did find some C# code that purported to suppress the Open. VB.NET seemed to recognize the code without changes except dropping the final semicolon. It didn't do the job in my app that the author claimed it did in his, but here's the code:
Response.Cache.SetCacheability (HttpCacheability.NoCache);
First, I haven't seen the "More" button you mention (running IE 7, XP Professional SP2).
Second, scouring the Web brought me no idea of how to control the buttons individually.
However, regarding Open, I noticed that a client OS that was not configured to recognize the file type being downloaded would not know which environment to open, and therefore would not display the "Open" button--for example, the client displayed the download-file name in the File Download Box but Windows did not seem to recognize .doc files, therefore Windows didn't open the file in Word and did not display the Open button, only Save and Cancel.
Also, I did find some C# code that purported to suppress the Open. VB.NET seemed to recognize the code without changes except dropping the final semicolon. It didn't do the job in my app that the author claimed it did in his, but here's the code:
Response.Cache.SetCacheability (HttpCacheability.NoCache);
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb ASP Marketplace
- How a doc file can be open inside browser without prompting the download dialog box (ASP.NET)
- File Download Dialog Box(ASP) (ASP)
- file open dialog box control in asp.net (ASP.NET)
- File Download dialog Box Not appearing (Windows NT / 2000 / XP / 2003)
- Download Dialog Box (C)
- IE; Getting file download box when attempting to access a particular web page (Web Browsers)
Other Threads in the ASP Forum
- Previous Thread: ASP Session Problem on IIS6
- Next Thread: DB recordset paging using ajax paging?


Linear Mode