Kendo.Mvc.UI.Fluent.MultiViewCalendarBuilder

Defines the fluent interface for configuring the MultiViewCalendar.

Methods

Culture(System.String)

Specifies the culture info used by the MultiViewCalendar widget.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("multiViewCalendar")
    .Culture("de-DE")
%>

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

Configures the client-side events.

Parameters

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

The client events action.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .Events(events =>
        events.Select("onSelect")
    )
%>

Format(System.String)

Sets the date format, which will be used to parse and format the machine date.

FooterId(System.String)

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

Example (ASPX)

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

Footer(System.String)

Footer template to be used for rendering the footer of the MultiViewCalendar.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .Footer("#= kendo.toString(data, "G") #")
%>

Footer(System.Boolean)

Enable/disable footer.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .Footer(false)
%>

Depth(Kendo.Mvc.UI.CalendarView)

Specifies the navigation depth.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .Depth(CalendarView.Month)
%>

Start(Kendo.Mvc.UI.CalendarView)

Specifies the start view.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .Start(CalendarView.Month)
%>

Selectable(System.String)

Specifies the selection mode.

Example (ASPX)

<%= Html.Kendo().MultiViewCalendar()
    .Name("MultiViewCalendar")
    .Selectable("multiple")
%>

SelectDates(System.Collections.Generic.IList<System.DateTime>)

Specifies which dates to be selected if multiple selection mode is enabled.

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.

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 #")
%>

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

Configures the content of cells of the MultiViewCalendar.

Example (ASPX)

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

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.String)

Sets the minimal date, which can be selected in the calendar.

Max(System.String)

Sets the maximal date, which can be selected in the calendar.

Min(System.DateTime)

Sets the minimal date, which can be selected in the MultiViewCalendar

Max(System.DateTime)

Sets the maximal date, which can be selected in the MultiViewCalendar

Views(System.Int32)

Sets the number of views in the MultiViewCalendar.

WeekNumber(System.Boolean)

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

Value(System.Nullable<System.DateTime>)

Sets the value of the MultiViewCalendar

Value(System.String)

Sets the value of the MultiViewCalendar

Selection(System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarSelectionSettingsBuilder>)

Configures the selection settings of the MultiViewCalendar.

Parameters

selectionAction System.Action<Kendo.Mvc.UI.Fluent.MultiViewCalendarSelectionSettingsBuilder>

SelectAction settings, which includes Action name and IEnumerable of DateTime objects.

Dates(System.Collections.Generic.IList<System.DateTime>)

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

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")
%>
In this article
Not finding the help you need?