ASP.NET MVC RadioButton Overview
The RadioButton is part of Telerik UI for ASP.NET MVC, a
professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.
The Telerik UI RadioButton HtmlHelper for ASP.NET MVC is a server-side wrapper for the Kendo UI RadioButton widget.
The RadioButton is rendered as an input type='radio'
element that is immediately followed by a label
element. The styling is implemented with the k-radio
class that is attached to the input
element and the k-radio-label
class that is attached to the label
element.
Initializing the RadioButton
The following example demonstrates how to initialize the RadioButton.
@(Html.Kendo().RadioButton()
.Name("MyRadioButton")
.Label("I agree")
.Checked(true))
Functionality and Features
-
Disabled RadioButton—You can disable the RadioButton through its
.Enable(false)
configuration. -
Checked RadioButton—The
Checked(true)
option allows you to initially check the component. - Model binding—The RadioButton supports binding to a model.
To learn more about the appearance, anatomy, and accessibility of the RadioButton, visit the Progress Design System documentation—an information portal offering rich component usage guidelines, descriptions of the available style variables, and globalization support details.