Monday, 28 March 2016

IE: No save option when clicking on downloadable link

Problem: 
When clicking on any file (specially office files) using IE the tool bar shows open/cancel options only and no save button is there

Solution: 
The idea is that IE for unknown reason shows Open/Cancel dialog instead of Save/Open/Cancel dialog.
There's a solution in which Save/Cancel dialog will be appeared instead of Open/Cancel dialog.
It's done by adding additional response header "X-Download-Options: noopen".

By using this header we force IE to hide Open option in the dialog so it shows Save button instead of it.


Regards,
Gamal

No comments:

Post a Comment