Simple question, if you use the Html Helper from ASP.NET MVC Framework 1 it is easy to set a default value on a textbox because there is an overload Html.TextBox(strin
Html.TextBox(strin
Using @Value is a hack, because it outputs two attributes, e.g.:
@Value
You should do this instead:
@Html.TextBox(Html.NameFor(p => p.FirstName).ToString(), "foo")