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

Razor
 
             @(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

Razor
 
             @(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

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