CheckBoxGroupEventBuilder
Methods
Change(System.String)
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
@( Html.Kendo().CheckBoxGroup()
.Name("CheckBoxGroup")
.Events(events => events
.Change("onChange")
)
)
Change(System.Func)
Fires when checking or unchecking a checkbox in the widget through user interaction.
For more information see Change event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@( Html.Kendo().CheckBoxGroup()
.Name("CheckBoxGroup")
.Events(e => e.Change(
@<text>
function(e){
event handling code
}
</text>
))
)
Focus(System.String)
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
@( Html.Kendo().CheckBoxGroup()
.Name("CheckBoxGroup")
.Events(events => events
.Focus("onFocus")
)
)
Focus(System.Func)
Fires when a checkbox in the CheckBoxGroup is focused through user interaction.
For more information see Focus event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@( Html.Kendo().CheckBoxGroup()
.Name("CheckBoxGroup")
.Events(e => e.Focus(
@<text>
function(e){
event handling code
}
</text>
))
)
Select(System.String)
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
@( Html.Kendo().CheckBoxGroup()
.Name("CheckBoxGroup")
.Events(events => events
.Select("onSelect")
)
)
Select(System.Func)
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.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@( Html.Kendo().CheckBoxGroup()
.Name("CheckBoxGroup")
.Events(e => e.Select(
@<text>
function(e){
event handling code
}
</text>
))
)