title: How do you make a kendo datepicker do date validation for a minimum date?
body: <p>I have the following control:</p>
  
  <pre><code>@(Html.Kendo().DatePickerFor(model =&gt; model.Attributes.DueDate)
      .HtmlAttributes(new { 
          ID = "idSurvey_DueDate", 
          @data_bind = "value: DueDate", 
          @Class = "report-label datepicker surveyAttributesData", 
          TabIndex = 3 })
      .Min(DateTime.Now)                                                            
  )
  </code></pre>
  
  <p>And the following jquery:</p>
  
  <pre><code>$("#idSurvey_DueDate").kendoValidator({
      rules: {
          dateValidation: function (e) {
              var currentDate = kendo.parseDate($(e).val());
              // Check if date parse was successful
              if (!currentDate) {
                  return false;
              }
              return true;
          }
      },
      messages: {
          dateValidation: "Invalid Date!",
          min: "Date must not be in the past!"
      }
  });
  </code></pre>
  
  <p>When I test this out and enter in an invalid date the message I get isn't what I expect. Instead it is "The field DueDate must be a date." Where is this mystery message coming from and why isn't it using the messages property I put in the validator? All I want is for non-valid date formats to not be allowed and for the date to not be in the past. So a minimum must be enforced.</p>