Click here to Skip to main content
15,943,008 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi Pl help in this.
I want to open excel file in web page without prompting file download dialog box.
Excel file store in public folder .
If file dowload dialog box display then i want ot disable save button so that user can not save the file .
DaveAuld 11-Nov-11 11:57am    
I don't think you can do that from the server side, it is the browser that determines if the dialog box to prompt download is required or not based on browser settings.

1 solution

Use javascript for the same, something like :
var"url of .xls","window2","")
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900