@model DateTime? @(Html.Kendo().DatePicker() .Name("DueDate") .Value(Model == null ? DateTime.Now : @Model) .Format("M/d/yyyy") )