title: Forcing EditorFor to prefix input items on view with Class Name?
body: <p>I have an EditorFor:</p>
  
  <pre><code>&lt;%: Html.EditorFor(model =&gt; model.Client, "ClientTemplate", new { editing = false })%&gt;
  </code></pre>
  
  <p>This will bind coming down to the view fine (as expected) but will not bind bind back when the model gets posted.
  This is due to the form id's not being prefixed with "Client."</p>
  
  <p>Usually in this situation i just pass in model and then bind the inputs to model.Client.PropertyName in the Template but this is not an option in this case as the template is used on two different viewmodels (that have client on).</p>
  
  <p>Any suggestions on getting this to bind properly?</p>
  
  <p>Many thanks,
  Kohan.</p>
  
  <hr>
  
  <h2>Addendum</h2>
  
  <p>It seems this was a misunderstanding on my part, the issue as i now understand it is that fluentHtml does not work inside EditorFor Templates. (The same goes for this fix, which as it turns out was not needed as EditorFor will prefix for me automatically if i replace the fluentHtml with normal mvc html helpers)</p>