Is it possible to control the name attribute of say a text boxt when using TextBoxFor?
this code in the view
@Html.TextBoxFor(m => m.SearchParams
@Html.TextBoxFor(model => model.attr, new { Name = "txt1" })
Just Use "Name" instead of "name"