asp.net mvc model binding
Posted
by mctayl
on Stack Overflow
See other posts from Stack Overflow
or by mctayl
Published on 2010-05-18T21:45:59Z
Indexed on
2010/05/18
21:50 UTC
Read the original article
Hit count: 299
asp.net-mvc
Hi there Iam using asp.net mvc to do model binding, when I pass a model to a view, I am able to see the model data displayed in the form inside a label,
<%= Html.Label(Model.title) %>
<%= Html.Label(Model.description) %>
however, I am not able to do the same using
<%= Html.TextArea(Model.description)%>
is there a syntax difference between displaying in a label as oppsed tp a textbox
© Stack Overflow or respective owner