Select Date:
@(Html.Kendo().DatePicker().Name("StartDate").Format("dd MMM yyyy")
.Value(DateTime.Now.AddDays(-1)).Max(DateTime.Now)
.Events(e =>
{
e.Change("onChangeDateSelection");
})
.HtmlAttributes(new { style = "width:130px;height:18px;padding-bottom:3px;" }))
To Date:
@(Html.Kendo().DatePicker().Name("EndDate").Format("dd MMM yyyy")
.Value(DateTime.Now).Max(DateTime.Now)
.HtmlAttributes(new { style = "width:130px;height:18px;padding-bottom:3px;" }))
@**@
@*
*@