# Component Types

As of R2 2020 version of the Telerik UI for ASP.NET MVC suite, the DatePicker widget introduces a new component type. It aims to enhance the existing rendering and deliver a fresh and modern look and feel.

By default, the DatePicker is initialized with the `classic` render mode. In order to set it to `modern`, configure the options of the widget as follows:

```Razor HtmlHelper
    @(Html.Kendo().DatePicker()
            .Name("datePicker")
            .ComponentType("modern")
    )
```

As a result, the appearance of the widget is alternated.

![UI for ASP.NET MVC DatePicker comparison between the component types](https://www.telerik.com/aspnet-mvc/documentation/assets/1c5f165e320c4360dde7d863d096751c/modern-classic-datepicker.png)

## See Also

* [Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/datepicker)
