How to set a default value with Html.TextBoxFor? September 30, 2022 by Tarik Try this: <%= Html.TextBoxFor(x => x.Age, new { @Value = "0"}) %> note that @Value has a capital V