How to open downloaded excel file when fully loaded in asp.net

We have a web server that allows the user to upload files (excel) that are dynamically generated. We would like it to automatically open the client side in excel after the download is complete.

Is there a way to do this using asp.net code or jQuery or javascript code?

+3
source share
1 answer

Nope. You cannot tell the client side how to handle the downloaded files.

Imagine the security problems that can cause.
"you are just (by accident?) loaded someShiftyFile.pdf.exe, now we make your computer run it!"

Features like this would greatly help virus encoders.

+6
source

All Articles