This example shows how Telerik DatePicker for ASP.NET MVC is being validated through the built-in server-side validation capabilities of ASP.NET MVC.


<%= Html.ValidationSummary() %>
<% using (Html.BeginForm("Action", "Controller")) { %>
    <%= Html.Telerik().DatePicker()
            .Name("deliveryDate")
    %>
    <%= Html.ValidationMessage("deliveryDate", "*") %>
    <input type="submit" value="Post" />
<% } %>

Additionally you can use DatePickerFor extension in order to create DatePicker for a concrete Model property. If it has Range attribute, DatePicker component will use it to define min and max date contraints.