# MultiViewCalendar in Razor Pages

Razor Pages is an alternative to the MVC pattern that makes page-focused coding easier and more productive. This approach consists of a `cshtml` file and a `cshtml.cs` file (by design, the two files have the same name).

You can seamlessly integrate the Telerik UI MultiViewCalendar for ASP.NET Core in Razor Pages applications.

This article describes how to configure the MultiViewCalendar component in a Razor Pages scenario.

For the complete project, refer to the [MultiViewCalendar in Razor Pages example](https://github.com/telerik/ui-for-aspnet-core-examples/blob/master/Telerik.Examples.RazorPages/Telerik.Examples.RazorPages/Pages/MultiViewCalendar/MultiViewCalendarIndex.cshtml).

```Razor HtmlHelper
    @page
    @model IndexModel

    <div>
        @(Html.Kendo().MultiViewCalendar()
            .Name("multiViewCalendar")
        )
    </div>
```

```Razor TagHelper
    @page
    @model IndexModel

    <div>
        <kendo-multiviewcalendar name="multiViewCalendar">
        </kendo-multiviewcalendar>
    </div>
```

```C# PageModel
public class IndexModel : PageModel
{
    public void OnGet()
    {
    }
}
```

## See Also

* [Using Telerik UI for ASP.NET Core in Razor Pages](https://docs.telerik.com/aspnet-core/getting-started/razor-pages#using-telerik-ui-for-aspnet-core-in-razor-pages)
* [Client-Side API of the MultiViewCalendar](https://docs.telerik.com/kendo-ui/api/ui/multiviewcalendar)
* [Server-Side HtmlHelper API of the MultiViewCalendar](https://www.telerik.com/aspnet-core-ui/documentation/api/multiviewcalendar)
* [Server-Side TagHelper API of the MultiViewCalendar](https://www.telerik.com/aspnet-core-ui/documentation/api/taghelpers/multiviewcalendar)
* [Knowledge Base Section](https://www.telerik.com/aspnet-core-ui/documentation/knowledge-base)
