In ASP.NET MVC, I wrote below code to give the textbox a initial value:
@Html.TextBoxFor(p => p.WEIGHT, new { tabindex = \"140\",
Well you've explicitly stated Value, not value.
Value
value
Try:
@Html.TextBoxFor(p => p.WEIGHT, new { tabindex = "140", @class = "mustInputText noime w50", maxlength = "8", @value = "0", rule = "InputOnlyNum" })