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

Defines the fluent API for configuring the Kendo MobileButtonGroup for ASP.NET MVC events.

Definition

Constructors

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

Methods

Defines the handler of the KendoKeydown client-side event.

C#
public ButtonGroupEventBuilder KendoKeydown(string handler)
Parameters:handlerstring

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

Returns:

ButtonGroupEventBuilder

Fires when a Button is selected.

C#
public ButtonGroupEventBuilder Select(string handler)
Parameters:handlerstring

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

Returns:

ButtonGroupEventBuilder

Example:
C#
@(Html.Kendo().ButtonGroup()
.Name("select-period")
.Events(e =&gt; e.Select("onSelect"))
)