# Start View and Selection Depth

The DatePicker 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`](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datepickerbuilder#startkendomvcuicalendarview) option. to control the navigation depth, use the [`Depth`](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/datepickerbuilder#depthkendomvcuicalendarview) option.

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 DatePicker that allows the user to select a month.

```Razor HtmlHelper
    @(Html.Kendo().DatePicker()
        .Name("datepicker")
        .Start(CalendarView.Year)
        .Depth(CalendarView.Year)
    )
```

```Razor TagHelper
<kendo-datepicker name="datepicker"
                  start="CalendarView.Year"
                  depth="CalendarView.Year"/>
```

`Start` and `Depth` control the initial view and the selection depth; they do not lock the calendar to one month. To restrict the user to a specific month, set `Min` and `Max` to the first and last dates of that month.

```Razor HtmlHelper
    @(Html.Kendo().DatePicker()
        .Name("datepicker")
        .Min(new DateTime(2026, 9, 1))
        .Max(new DateTime(2026, 9, 30))
    )
```

```Razor TagHelper
    <kendo-datepicker name="datepicker"
                      min="new DateTime(2026, 9, 1)"
                      max="new DateTime(2026, 9, 30)" />
```

## See Also

* [Specifying the Start View and Selection Depth in the DatePicker HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/datepicker/index)
* [Server-Side API](https://www.telerik.com/aspnet-core-ui/documentation/api/datepicker)
