Kendo.Mvc.UI.Fluent.RadioButtonBuilder
Defines the fluent API for configuring the Kendo UI RadioButton
Methods
Value(System.Object)
Sets the value of the radio button.
Parameters
value System.Object
Enable(System.Boolean)
If set to false, the RadioButton will be disabled and will not allow the user to change its checked state.
Parameters
value System.Boolean
The value for Enabled
Checked(System.Boolean)
The checked state of the RadioButton.
Parameters
value System.Boolean
The value for Checked
Checked
The checked state of the RadioButton.
Encoded(System.Boolean)
Determines whether the radio label content should be rendered as an HTML string or it should be encoded.
Parameters
value System.Boolean
The value for Encoded
Label(System.String)
Specifies the label content for the radio.
Parameters
value System.String
The value for Label
Size(Kendo.Mvc.UI.ComponentSize)
Sets a value controlling the size of the component.
Parameters
value Kendo.Mvc.UI.ComponentSize
The value for Size
Events(System.Action<Kendo.Mvc.UI.Fluent.RadioButtonEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.RadioButtonEventBuilder>
The client events action.
Example (ASPX)
@(Html.Kendo().RadioButton()
.Name("RadioButton")
.Events(events => events
.Change("onChange")
)
)