Here Mudassar Ahmed Khan has explained with an example, how to read values of Hidden Field created using Html.Hidden and Html.HiddenFor helper functions in Controller in ASP.Net MVC Razor.
The value of the Hidden Field created using Html.HiddenFor helper function is read using Model class object while the value of Hidden Field created using Html.Hidden helper function is read using Request.Form collection in ASP.Net MVC Razor.
↧
ASP.Net MVC: Read values of Hidden Field created using Html.Hidden and Html.HiddenFor in Controller
↧