How to set default value for Html.TextBoxFor in ASP.NET MVC ?

You can set the default value for the Html.TextBoxFor extension controls in ASP.NET MVC by specifying the Value property as shown below.

How to set default value for Html.TextBoxFor in ASP.NET MVC ?

<%= Html.TextBoxFor(x => x.Age, new { @Value = "0"}) %>

%d