title: How can I set id using Html.EditorFor with MVC3
body: <p>I am trying to set a field id as follows:</p>
  
  <pre><code>@Html.EditorFor(x =&gt; x.Order, new { id = string.Format("Order_{0}", Model.Row) })
  </code></pre>
  
  <p>but this results in the following and it seems my id is not being set:</p>
  
  <pre><code>&lt;input type="text" value="334" name="item.Order" id="item_Order" class="text-box single-line"&gt;
  </code></pre>
  
  <p>Does anyone have an idea what I am doing wrong. I checked the allowable formats for EditorFor and looked on google for examples but I could not see anything that matched what I need.</p>