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
Rob, actually there is a much simpler way. Instead of name, use Name:
@Html.TextBoxFor(x => x.Data, new { Name = Model.Key + "_Data", id = Model.Key + "_Data" })