title: Display datetime model property as Short date time string
body: <p>I'm new with MVC2, and am having a formatting problem. I have a DateTime property in my Employee model that I would like displayed with the Short Date Time.</p>
  
  <p>This however, does not appear to be the correct method.</p>
  
  <pre><code>1 &lt;div class="editor-field"&gt;
  2    &lt;%: Html.TextBoxFor(model =&gt; model.DateRequested.ToShortDateString()) %&gt;
  3    &lt;%: Html.ValidationMessageFor(model =&gt; model.DateRequested) %&gt;
  4 &lt;/div&gt;
  </code></pre>
  
  <p>Line 2 throws this exception:</p>
  
  <blockquote>
    <p>Templates can be used only with field
    access, property access,
    single-dimension array index, or
    single-parameter custom indexer
    expressions.</p>
  </blockquote>
  
  <p>What is the correct way to handle formatting in mvc?</p>