HOW TO PASS VALUE FROM ONE CONTROLLER TO ANOTHER CONTROLLER

venkat gosetty

Total Post:15

Points:105
Posted by  venkat gosetty
 2473  View(s)
Ratings:
Rate this:
How to pass value from one controller to another controller
  1. Awadhendra Tiwari

    Post:126

    Points:882
    Re: How to pass value from one controller to another controller

    Hi Venkat,
    You 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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!