RadioGroupEventBuilder
Methods
Change(System.String)
Fires when the selected radio input in the RadioGroup is changed 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().RadioGroup()
.Name("RadioGroup")
.Events(events => events
.Change("onChange")
)
)
Change(System.Func)
Fires when the selected radio input in the RadioGroup is changed 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().RadioGroup()
.Name("RadioGroup")
.Events(events => events.Change(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Focus(System.String)
Fires when a radio input in the RadioGroup 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().RadioGroup()
.Name("RadioGroup")
.Events(events => events
.Focus("onFocus")
)
)
Focus(System.Func)
Fires when a radio input in the RadioGroup 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().RadioGroup()
.Name("RadioGroup")
.Events(events => events.Focus(
@<text>
function(e) {
//event handling code
}
</text>
))
)
Select(System.String)
Fires when a radio input is clicked to be selected through user interaction. If prevented, the clicked input will not be selected.
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().RadioGroup()
.Name("RadioGroup")
.Events(events => events
.Select("onSelect")
)
)
Select(System.Func)
Fires when a radio input is clicked to be selected through user interaction. If prevented, the clicked input will not be selected.
For more information see Select event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Example
@( Html.Kendo().RadioGroup()
.Name("RadioGroup")
.Events(events => events.Select(
@<text>
function(e) {
//event handling code
}
</text>
))
)