Share via


Controller.RedirectToAction Method

Include Protected Members
Include Inherited Members

Returns an HTTP 302 response to the browser, which causes the browser to make a GET request to the specified action.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Protected method RedirectToAction(String) Redirects to the specified action using the action name.
Protected method RedirectToAction(String, Object) Redirects to the specified action using the action name and route values.
Protected method RedirectToAction(String, String) Redirects to the specified action using the action name and controller name.
Protected method RedirectToAction(String, RouteValueDictionary) Redirects to the specified action using the action name and route dictionary.
Protected method RedirectToAction(String, String, Object) Redirects to the specified action using the action name, controller name, and route values.
Protected method RedirectToAction(String, String, RouteValueDictionary) Redirects to the specified action using the action name, controller name, and route dictionary.

Top

See Also

Reference

Controller Class

System.Web.Mvc Namespace