New to Telerik UI for ASP.NET Core? Download free 30-day trial

ASP.NET Core MultiViewCalendar View Selection

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
view_selection.cshtml
view_selection_TagHelper.cshtml

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET Core MultiViewCalendar component allows you to control its view selection by setting the initial rendering as well as the depth of the calendar.

Setting the First MultiViewCalendar View

To set the first, initially rendered view of the MultiViewCalendar component, use the start property. The start option defines the following possible view options:

  • 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.

Setting the MultiViewCalendar Depth

The MultiViewCalendar enables you to control the view depth to which the user can navigate. To determine its navigation view depth, use the depth property. Similar to the start option, depth accepts the same Month, Year, Decade, and Century option values.

This demo shows how to configure both the Start and Depth views of the MultiViewCalendar which, in this case, prompt the user to choose between the Decade and Year calendar views.

Always set both the start and depth options because the depth option will not be applied if the start value is lower than the depth one.

Additional Apps

This MultiViewCalendar example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources