Is it possible when using Html.TextBoxFor to override the name attribute?
Html.TextBoxFor
I have tried with no success. I need to use TextBoxFor to get client side vali
@Html.EditorFor(Model => Model.Something, "name", "name", new {@class = "form-control" })
Not sure which of those two string parameters in the middle do the work, but it worked only when I typed both of them.