title: Issues getting Date Picker to show with MVC 2
body: <p>Alright, so I'm trying to switch over from having to enter a manual date and time to using jquery to select the date and time. </p>
  
  <p>I didnt think it would be too hard.</p>
  
  <p>My View:</p>
  
  <pre><code>&lt;%= Html.LabelFor(x =&gt; x.DDate) %&gt;       
  &lt;%= Html.EditorFor(x =&gt; x.DDate) %&gt;
  &lt;%= Html.ValidationMessageFor(x =&gt; x.DDate)%&gt; &lt;br /&gt;
  </code></pre>
  
  <p>My Site.Master(I'm also using this: <a href="http://trentrichardson.com/examples/timepicker/" rel="nofollow">http://trentrichardson.com/examples/timepicker/</a>):</p>
  
  <pre><code>&lt;script type="text/javascript" src="/Content/jquery-1.4.4.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/Content/jquery-ui-1.8.6.custom.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="/Content/jquery-ui-timepicker-addon.js"&gt;&lt;/script&gt;
  &lt;script  type="text/javascript"&gt;
          $('.dp').datetimepicker({
              ampm: true
          }); 
  &lt;/script&gt;
  </code></pre>
  
  <p>DateTime.ascx:</p>
  
  <pre><code>&lt;%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl&lt;System.DateTime?&gt;" %&gt;  
  &lt;%= Html.TextBox("",  String.Format("{0:MM-dd-yyyy}", Model.HasValue ? Model : DateTime.Today), new { @class = "dp"})%&gt;  
  </code></pre>
  
  <p>Now I know somethings working right becuase when I load the page, there is a date preset with today's date.</p>
  
  <p>However, when I click the textbox, NOTHING shows up. </p>
  
  <p>Does anyone have an ideas what I'm doing wrong?</p>