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)
https://www.mindstick.com/blog/273/passing-values-from-controller-to-view-in-asp-dot-net-mvc 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.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
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) https://www.mindstick.com/blog/273/passing-values-from-controller-to-view-in-asp-dot-net-mvc
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.