I am using the default asp.net MVC 2 syntax to construct TextBox\'s which are integer or decimal for my asp.net MVC web app:
<%: Html.TextBoxFor(model =&g
I use this solution :
@Html.TextBoxFor(model => model.Year, new { Value = "" })
refer to : https://stackoverflow.com/a/6186576/297487