title: How to format the value in a strongy typed view when using ASP.Net MVC's Html.TextBoxFor
body: <p>I am trying to format a date rendered by ASP.Net MVC's TextBoxFor using the value of a strongly typed view. The date is nullable so if it is null I want to see a blank value, otherwise I want to see it in the format MM/dd/yyyy.</p>
  
  <pre><code>&lt;%= Html.TextBoxFor(model =&gt; model.BirthDate, new { style = "width: 75px;" })%&gt;
  </code></pre>
  
  <p>Thanks,<br>
  Paul Speranza</p>