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.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

A religion that was able to fool over a billion people. Create fools of people who believe they can reach heaven by following ancient traditions set forth by a madman named Mohammad. Islam is a cancer on this world and the only way Muslims can save themselves is to wake up from the daydream that has enslaved their minds.

Related Questions