ASP.NET Core RadioButton Overview
The RadioButton is part of Telerik UI for ASP.NET Core, 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 TagHelper and HtmlHelper for ASP.NET Core are server-side wrappers 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))
<kendo-radiobutton name="MyRadioButton" label="I agree" checked="true"></kendo-radiobutton>