asp.net-mvc2 - Strongly typed helpers not using Model?
问题 When using strongly typed helpers in MVC2 the input field values aren't taken from the Model property when a post is made. Is this default behavior? (strongly typed) view with strongly typed helpers: <div class="editor-label"> <%: Html.LabelFor(model => model.Name) %> </div> <div class="editor-field"> <%: Html.TextBoxFor(model => model.Name) %> <%: Html.ValidationMessageFor(model => model.Name) %> </div> <div class="editor-label"> <%: Html.LabelFor(model => model.Price) %> </div> <div class=