How to return a FileResult AND RedirectToAction in ASP.NET MVC?

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.

Thanks, I guess that's pretty much the only way to do it. – StanK Aug 8 '11 at 9:27 Well done jani. – Saeed Amiri Sep 10 '11 at 6:11.

Up vote 0 down vote favorite share g+ share fb share tw.

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? Asp. Net-mvc asp.

Net-mvc-3 link|improve this question asked Aug 8 '11 at 3:59StanK1,124311 80% accept rate.

Related Questions