I'm using Asp.Net MVC4 technology. I'm trying to override default style property of Html.EditorFor but its not working.
Here is my code.
@Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control" } })
And here is output from the browser.
<input id="Name" class="text-box single-line valid" data-val="true"data-val-required="The User Name field is required." name="Name" type="text"/>