home / software / tips and tricks / How can I Pass multiple parameters to another action method using RedirectToAction() method?

How can I Pass multiple parameters to another action method using RedirectToAction() method?

Updated:  10/18/2016 08:10 AM
Author:  Shiju Mathews

Status:    Resolved.


The Controller.RedirectToAction() Method methods has different overloaded methods to pass multiple parameters to another action method.

RedirectToAction(String, Object) and RedirectToAction(String, String, Object) over loaded methods can be used as follows.

Controller: resource
Action: index


Another way is to use the RedirectToAction(String, RouteValueDictionary) or RedirectToAction(String, String, RouteValueDictionary) as follows.
Tags: How can I Pass multiple parameters to another action method using RedirectToAction() method?
Updated on: April 2024