title: control name in TextBoxFor in MVC3
body: <p>Is it possible to control the name attribute of say a text boxt when using TextBoxFor?</p>
  
  <p>this code in the view </p>
  
  <pre><code>@Html.TextBoxFor(m =&gt; m.SearchParams.someParam)
  </code></pre>
  
  <p>produce this </p>
  
  <pre><code>&lt;input id="SearchParams_someParam" name="SearchParams.someParam" type="text" value=""&gt;
  </code></pre>
  
  <p>but I do not want my input name to be "SearchParams.someParam" and I wanted that to be something like</p>
  
  <pre><code>&lt;input id="SearchParams_someParam" name="MyPreferedName" type="text" value=""&gt;
  </code></pre>
  
  <p>where the MyPreferedName comes from from some attributes the .SearchParams.someParam in the corresponding model.</p>
  
  <p>Is this possible? I know @Html.TextBox does it but I do not want to hardcode the name in the view. </p>