I have an Action that returns a FileResult via View(...)
. This works well.
Ideally I would like to be able to somehow return a file and then redirect to another action (or somehow do both simultaneously).
Is this possible?
I have an Action that returns a FileResult via View(...)
. This works well.
Ideally I would like to be able to somehow return a file and then redirect to another action (or somehow do both simultaneously).
Is this possible?
It could be done by a javascript code in client side which run after download started, you can see the pattern in many website, most notably Microsoft download center.