New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent interface for configuring MultiViewCalendar client events.

Definition

Constructors

C#
public MultiViewCalendarEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

Methods

Defines the inline handler of the Change client-side event

C#
public MultiViewCalendarEventBuilder Change(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag (Razor syntax).

Returns:

MultiViewCalendarEventBuilder

Example:
C#
@( Html.Kendo().MultiViewCalendar()
.Name("MultiViewCalendar")
.Events(events =&gt; events.Change(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

Defines the name of the JavaScript function that will handle the Change client-side event.

C#
public MultiViewCalendarEventBuilder Change(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the event.

Returns:

MultiViewCalendarEventBuilder

Example:
C#
@( Html.Kendo().MultiViewCalendar()
.Name("MultiViewCalendar")
.Events(events =&gt; events.Change("change"))
)

Defines the inline handler of the KendoKeydown client-side event

C#
public virtual MultiViewCalendarEventBuilder KendoKeydown(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag (Razor syntax).

Returns:

MultiViewCalendarEventBuilder

Defines the name of the JavaScript function that will handle the KendoKeydown client-side event.

C#
public virtual MultiViewCalendarEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the event.

Returns:

MultiViewCalendarEventBuilder

Defines the inline handler of the Navigate client-side event

C#
public MultiViewCalendarEventBuilder Navigate(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag (Razor syntax).

Returns:

MultiViewCalendarEventBuilder

Example:
C#
@( Html.Kendo().MultiViewCalendar()
.Name("MultiViewCalendar")
.Events(events =&gt; events.Navigate(
@&lt;text&gt;
function(e) {
//event handling code
}
&lt;/text&gt;
))
)

Defines the name of the JavaScript function that will handle the Navigate client-side event.

C#
public MultiViewCalendarEventBuilder Navigate(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the event.

Returns:

MultiViewCalendarEventBuilder

Example:
C#
@( Html.Kendo().MultiViewCalendar()
.Name("MultiViewCalendar")
.Events(events =&gt; events.Navigate("navigate"))
)