Reputation: 4770
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?
Upvotes: 0
Views: 1381
Reputation: 14874
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.
Upvotes: 2