New to Telerik UI for ASP.NET Core? Download free 30-day trial
ASP.NET Core MultiViewCalendar View Selection
- EXAMPLE
- VIEW SOURCE
-
Change Theme
defaultDefault Theme
- Main
- Main Dark
- Nordic
- Ocean Blue
- Ocean Blue A11Y
- Purple
- Turquoise
Bootstrap Theme- Main
- Bootstrap 3
- Bootstrap 3 Dark
- Main Dark
- Nordic
- Turquoise
- Turquoise Dark
- Urban
- Vintage
Material Theme- Main
- Arctic
- Lime Dark
- Main Dark
- Nova
Classic Theme- Main
- Green
- Green Dark
- Lavender
- Lavender Dark
- Main Dark
- Metro
- Metro Dark
- Moonlight
- Opal
- Opal Dark
- Silver
- Silver Dark
- Uniform
Fluent Theme- Main
Also available for:
CLIENT-SIDE API SERVER-SIDE APIDescription
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.