title: How to write a custom override for LabelFor in asp mvc 2?
body: <p>Hi I have a piece of code which gives an error.</p>
  
  <pre><code>&lt;%=Html.LabelFor(m =&gt; m.Id, new { @Class = "textbox-medium" })%&gt;
  </code></pre>
  
  <p>Error:</p>
  
  <p>No overload for method 'LabelFor' takes '2' arguments.</p>
  
  <p>Does anyone know how to resolve this ?</p>
  
  <p>Thanks</p>