How to receive modified model value in MVC's Post method?

Posted by kapil on Stack Overflow See other posts from Stack Overflow or by kapil
Published on 2010-05-03T08:49:17Z Indexed on 2010/05/03 8:58 UTC
Read the original article Hit count: 229

Filed under:
|

HI, Does anyone know how can I receive the modified model value which I have bound to controls on view page. For instance I have used a text box on view, as follows-

<%=Html.TextBoxFor(model => Model.firstName, new { id = "txtFirstName"})%>

But in my post method I am not able to receive the modified value from the text box. Any solution?

Thanks, Kapil

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about postback