New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Kendo.Mvc.UI.Fluent.RadioButtonBuilder

Defines the fluent API for configuring the Kendo RadioButton for ASP.NET MVC.

Methods

Checked(System.Boolean)

The checked state of the RadioButton.

Parameters

value System.Boolean

The value that configures the checked.

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 that configures the encoded.

Label(System.String)

Specifies the label content for the radio.

Parameters

value System.String

The value that configures the label.

Size(Kendo.Mvc.UI.ComponentSize)

Sets a value controlling the size of the component.

Parameters

value Kendo.Mvc.UI.ComponentSize

The value that configures the 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")
    )
%>

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 that configures the enabled.

In this article
Not finding the help you need?