How to pass value from one controller to another controller
368225-Jan-2012
How to pass value from one controller to another controller
Updated on 26-Jan-2012
Home / DeveloperSection / Forums / How to pass value from one controller to another controller
Anonymous User
26-Jan-2012You can use many ways to pass value from one view to another view or one controller to another controller. You can use ViewData, ViewBag and TempData dictionary object to pass value.
Here I am giving some links which shows you how to pass value from one view to another view.
1) http://www.mindstick.com/Articles/13768801-20cf-4ff4-b3fa-f7007917b027/?ViewBag%20in%20ASP.NET%20MVC
2) http://www.mindstick.com/Blog/273/Passing%20values%20from%20Controller%20to%20View%20in%20ASP%20NET%20MVC
3) http://www.mindstick.com/Articles/4c3425f7-271d-49c9-b7c5-d5708b9c8ae8/?Testing%20View%20Data%20in%20MVC
4)http://www.mindstick.com/Articles/13768801-20cf-4ff4-b3fa-f7007917b027/?ViewBag%20in%20ASP.NET%20MVC
Hope these links help you.
Thanks.