title: Overriding EditorFor ID field within nested EditorFor
body: <p>Hi I am trying to explicitly change the ID and Name and Validate-For fields in my EditorFor outputs. </p>
  
  <p>I have the following code: </p>
  
  <pre><code>Html.EditorFor(x =&gt; ViewBag.NestedFormDatas)
  </code></pre>
  
  <p>The above prefixes all of the fields with the name of the current Model. </p>
  
  <p>My temporary solution is the following (I know it is far from ideal but it works!):</p>
  
  <pre><code>@Html.Raw(Html.EditorFor(x =&gt; ViewBag.NestedFormDatas).ToHtmlString().Replace("NestedForm", "DesiredPrefix"))
  </code></pre>