What's the difference in ASP.NET MVC of RedirectToRoute
and RedirectToAction
? It's not clear what the difference is to me.
views:
596answers:
2
+3
A:
Redirect to route looks up the route table thats defined in global.asax and redirect to action redirects you to a specified controller/action.
that's about it really
griegs
2010-02-22 23:24:04
A:
Ideally I would use RedirectToRoute for Action Links/Images and RedirectToAction in Controller Action to redirect to another Controller Action.
amit
2010-02-23 05:53:20