SyntaxFix
Write A Post
Hire A Developer
Questions
This works for me, in MVC5:
@Html.TextBoxFor(m => m.Name, new { @class = "form-control", id = "theID" , @Value="test" })