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

CalendarMessagesParentViewsSettingsBuilder

Methods

Month(System.String)

Allows customization of parent view name used in the "title" attribute of the Calendar when the current view is the 'month'. The default text is 'year view'.

Parameters

value - System.String

The value that sets the message text.

Example


             @(Html.Kendo().Calendar()
                        .Name("calendar")
                        .Messages(msg => msg.ParentViews(pv => pv.Month("previous view")))
             )

Year(System.String)

Allows customization of parent view name used in the "title" attribute of the Calendar when the current view is the 'year'. The default text is 'decade view'.

Parameters

value - System.String

The value that sets the message text.

Example


             @(Html.Kendo().Calendar()
                        .Name("calendar")
                        .Messages(msg => msg.ParentViews(pv => pv.Year("previous view")))
             )

Decade(System.String)

Allows customization of parent view name used in the "title" attribute of the Calendar when the current view is the 'decade'. The default text is 'century view'.

Parameters

value - System.String

The value that sets the message text.

Example


             @(Html.Kendo().Calendar()
                        .Name("calendar")
                        .Messages(msg => msg.ParentViews(pv => pv.Decade("previous view")))
             )

In this article
Not finding the help you need?