I'm using Kendo Grid with editpopup and I have a DateTime field in my Model.
If I set the Max property to my datepicker, last date in datepicker not shown in editpopup field at the time of edit.
If i use below 14 its works like charm.
Code:
@Html.Kendo().DatePickerFor(m => m.DateOfBirth).Max(DateTime.Today.AddYears(-18))).HtmlAttributes(new { placeholder = "dd/mm/yyy", type = "date", @class = "datePicker" })
But Kendo Grid shows properly.Insert Updated Working properly with last date too.
Note: I'm using MVC with Razor syntax.
Thanks in advance!

DateTime.Today.AddYears(-18).AddDays(1)- Matt Millican