title: Html.TextBoxFor formatting or Html.EditorFor htmlAttributes?
body: <p>I am kind of stumped because, I want to format the value and add a html attribute for css class. </p>
  
  <p>If I use <code>@Html.TextBoxFor(m =&gt; m.DateModified)</code>
  - I can add html attribute but formatting does not work via DisplayFormat attribute on the member.</p>
  
  <p>If I use  <code>@Html.EditorFor(m =&gt; m.DateModified)</code>
  - Formatting works but I cannot add html attribute</p>
  
  <p>If I use <code>@Html.TextBox("DateModified", Model.DateModified, ...)</code>
  - I get null reference exception when Model is null when the form is in add mode</p>
  
  <p>What is the best way to achieve this?</p>