Kendo.Mvc.UI.Fluent.MultiViewCalendarBuilder

Defines the fluent API for configuring the Kendo UI MultiViewCalendar

Methods

DisableDates(System.DayOfWeek[])

Specifies the disabled dates in the MultiViewCalendar widget using a function.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .DisableDates(DayofWeek.Saturday, DayOfWeek.Sunday)
%>

DisableDates(System.String)

Specifies the disabled dates in the MultiViewCalendar widget using a function.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .DisableDates("disableDates")
%>

FooterId(System.String)

FooterId to be used for rendering the footer of the MultiViewCalendar.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .FooterId("widgetFooterId")
%>

MonthTemplateId(System.String)

MonthTemplateId to be used for rendering the cells of the MultiViewCalendar.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .MonthTemplateId("widgetMonthTemplateId")
%>

MonthTemplate(System.String)

Templates for the cells rendered in the "month" view.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .MonthTemplate("#= data.value #")
%>

Culture(System.String)

Specifies the culture info used by the widget.

Parameters

value System.String

The value for Culture

Dates(System.DateTime[])

Specifies a list of dates, which will be passed to the month template.

Parameters

value System.DateTime[]

The value for Dates

Footer(System.String)

The template which renders the footer. If false, the footer will not be rendered.

Parameters

value System.String

The value for Footer

Format(System.String)

Specifies the format, which is used to parse value set with value() method.

Parameters

value System.String

The value for Format

Max(System.DateTime)

Specifies the maximum date, which the multiViewCalendar can show.

Parameters

value System.DateTime

The value for Max

Messages(System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarMessagesSettingsBuilder>)

Allows localization of the strings that are used in the widget.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarMessagesSettingsBuilder>

The configurator for the messages setting.

Min(System.DateTime)

Specifies the minimum date, which the multiViewCalendar can show.

Parameters

value System.DateTime

The value for Min

Views(System.Double)

This property controls how many months to be shown at same time. By default it shows two months.

Parameters

value System.Double

The value for Views

Range(System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarRangeSettingsBuilder>)

Configures the Kendo UI MultiViewCalendar range settings.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarRangeSettingsBuilder>

The configurator for the range setting.

Selectable(System.String)

By default user is able to select a single date. The property can also be set to "multiple" or "range". More information about multiple selection can be found in the Selection article.

Parameters

value System.String

The value for Selectable

SelectDates(System.DateTime[])

Specifies which dates to be selected when the multiViewCalendar is initialized.

Parameters

value System.DateTime[]

The value for SelectDates

ShowViewHeader(System.Boolean)

If set to true will render a header for every view.

Parameters

value System.Boolean

The value for ShowViewHeader

ShowViewHeader

If set to true will render a header for every view.

WeekNumber(System.Boolean)

If set to true a week of the year will be shown on the left side of the multiViewCalendar.

Parameters

value System.Boolean

The value for WeekNumber

WeekNumber

If set to true a week of the year will be shown on the left side of the multiViewCalendar.

Value(System.DateTime)

Specifies the selected date.

Parameters

value System.DateTime

The value for Value

Start(Kendo.Mvc.UI.CalendarView)

Parameters

value Kendo.Mvc.UI.CalendarView

The value for Start

Depth(Kendo.Mvc.UI.CalendarView)

Specifies the navigation depth.

Parameters

value Kendo.Mvc.UI.CalendarView

The value for Depth

MonthTemplate(System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarMonthTemplateSettingsBuilder>)

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarMonthTemplateSettingsBuilder>

The configurator for the monthtemplate setting.

Events(System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarEventBuilder>)

Configures the client-side events.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarEventBuilder>

The client events action.

Example (ASPX)

@(Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .Events(events => events
        .Change("onChange")
    )
)
In this article
Not finding the help you need?