In ASP.NET MVC, I wrote below code to give the textbox a initial value:
@Html.TextBoxFor(p => p.WEIGHT, new { tabindex = \"140\",
Use TextBox instead of TextBoxFor
@Html.TextBox("WEIGHT", Model.WEIGHT ?? "0", new {...})
or if WEIGHT is an empty string
@Html.TextBox("WEIGHT", Model.WEIGHT == "" ? "0" : Model.WEIGHT, new {...})