# 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](https://docs.telerik.com/kendo-ui/api/ui/checkboxgroup/events/change) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [CheckBoxGroupEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/checkboxgroupeventbuilder) .

#### Example

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

### Change(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/checkboxgroup/events/change) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [CheckBoxGroupEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/checkboxgroupeventbuilder) .

#### Example

```
 
             @( Html.Kendo().CheckBoxGroup()
                        .Name("CheckBoxGroup")
                        .Events(e => e.Change(
                           @<text>
                              function(e){
                                  event handling code
                              }
                           </text>
                         ))
            )
             
```

### 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](https://docs.telerik.com/kendo-ui/api/ui/checkboxgroup/events/focus) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [CheckBoxGroupEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/checkboxgroupeventbuilder) .

#### Example

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

### Focus(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/checkboxgroup/events/focus) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [CheckBoxGroupEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/checkboxgroupeventbuilder) .

#### Example

```
 
             @( Html.Kendo().CheckBoxGroup()
                        .Name("CheckBoxGroup")
                        .Events(e => e.Focus(
                           @<text>
                              function(e){
                                  event handling code
                              }
                           </text>
                         ))
            )
             
```

### 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](https://docs.telerik.com/kendo-ui/api/ui/checkboxgroup/events/select) event.

#### Parameters

##### handler - `System.String`

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

#### RETURNS

Returns the current instance of [CheckBoxGroupEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/checkboxgroupeventbuilder) .

#### Example

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

### Select(System.Func)

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](https://docs.telerik.com/kendo-ui/api/ui/checkboxgroup/events/select) event.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

Returns the current instance of [CheckBoxGroupEventBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/checkboxgroupeventbuilder) .

#### Example

```
 
             @( Html.Kendo().CheckBoxGroup()
                        .Name("CheckBoxGroup")
                        .Events(e => e.Select(
                           @<text>
                              function(e){
                                  event handling code
                              }
                           </text>
                         ))
            )
             
```
