So I\'ve got an MVC 3 application that has a couple places where a text file gets generated and returned in an action using:
return File(System.Text.Encoding
Sorry for bumping an old question but...
Another alternative would be to initiate multiple file downloads using JavaScript, and serve files in two different Action Methods on ASP.NET's side.
You're saying you have a link:
On the view, i have an action link like "Click here to get those 2 files"
So make this link like this:
Click to get 2 files
I'm using download.js script found here but you can find plenty of different other options, see this SO question: starting file download with JavaScript for example