sudheen

sudheen

  • 1.4k
  • 313
  • 83.9k

get hidden field value in mvc controller

Jun 4 2015 11:54 PM
hi,
 
Req:get hidden field value in controller..
 
@Html.HiddenFor(m => m.appdetails.ApplNum, new { @Value = "defaultUserName", name = "Id" })
 
 
public ActionResult  Name( Model app, int Id
{
 
 
}
 
in above code am not getting hidden field value in variable id in acton method.. 
please give me soln for this..

Answers (4)