Response.RedirectToRoute with an action specified

asp.net-mvc, routes

Solution

I too had a hard time with this. I did this

Response.Redirect(Url.RouteUrl(new{ controller="controller", action="action"}));

Problem

I wish to redirect to a route but also specify the action to run on that route's controller. I tried this: ``` Response.RedirectToRoute("Login", new { action = "ChangePassword" }); ``` The action looks like this: ``` public ActionResult ChangePassword() {} ``` The route looks like this: ``` routes.MapRoute("Login", "Login/{action}", new { controller = "Login", action = "Index" } ); ``` The error I get is : System.NotImplementedException: The method or operation is not implemented. Can you see what I'm doing wrong?

Original source