title: asp.net mvc controller does not recognize DateTime url parameter?
body: <p>I am encoding an Iframe url with some date parameters:</p>
  
  <pre><code>var object = {
                  profileID: self.profileID(),
                  organisationID: self.organisationID(),
                  startDate: self.startDate(), // 09/04/2013 
                  endDate: self.endDate() // 17/04/2013 
              };
  iFrame.src = "ExportReportAllMediaDetailsCsv/?" + $.param(object);
  </code></pre>
  
  <p>the encoded url:</p>
  
  <pre><code>http://dev.neptune.local/Report/ExportReportAllMediaDetailsCsv/?profileID=41&amp;organisationID=2252&amp;startDate=09%2F04%2F2013&amp;endDate=17%2F04%2F2013
  </code></pre>
  
  <p>however the method that is being called sometimes does not recognize the datetimes being passed in:</p>
  
  <pre><code>The parameters dictionary contains a null entry for parameter 'endDate' of non-nullable type 'System.DateTime'
  </code></pre>
  
  <p>this is the method signature:</p>
  
  <pre><code>[CustomAuthorize(Definitions.RoleAnalystManager, Definitions.RoleProjectManager)]
  public ActionResult ExportReportAllMediaDetailsCsv(int profileID, int organisationID, DateTime startDate, DateTime endDate)
  </code></pre>