CheckBoxGroupEventBuilder

Methods

Change(System.String)

Defines the handler of the Change client-side event. Fires when checking or unchecking a checkbox in the widget through user interaction.

For more information see Change event.

Parameters

handler - System.String

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

Example

Razor
 
             @( Html.Kendo().CheckBoxGroup()
                        .Name("CheckBoxGroup")
                        .Events(events => events
                            .Change("onChange")
                        )
            )
             

Focus(System.String)

Defines the handler of the Focus client-side event. Fires when a checkbox in the CheckBoxGroup is focused through user interaction.

For more information see Focus event.

Parameters

handler - System.String

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

Example

Razor
 
             @( Html.Kendo().CheckBoxGroup()
                        .Name("CheckBoxGroup")
                        .Events(events => events
                            .Focus("onFocus")
                        )
            )
             

Select(System.String)

Defines the handler of the Select client-side event. Fires when a checkbox input is clicked to be selected through user interaction. If prevented, the clicked input will not be checked/unchecked.

For more information see Select event.

Parameters

handler - System.String

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

Example

Razor
 
             @( Html.Kendo().CheckBoxGroup()
                        .Name("CheckBoxGroup")
                        .Events(events => events
                            .Select("onSelect")
                        )
            )