The DateRangePicker enables you to set the initial view it renders and define the navigation depth of the views.
To define the initially rendered view, use the
Start option. To control the navigation depth, use the
The Calendar view supports the following predefined views:
Month—Shows the days of the month.
Year—Shows the months of the year.
Decade—Shows the years of the decade.
Century—Shows the decades of the century.
The following example demonstrates how to create a DateRangePicker that sets the start of a year and the navigation depth of a month.
@(Html.Kendo().DateRangePicker() .Name("daterangepicker") .Start(CalendarView.Year) .Depth(CalendarView.Month) )