The ASP.NET MVC Radio Button is a custom radio-type HTML5 input control for selecting one option from a list of predefined choices. It supports different states, sizes, labels, label positions, and UI customizations.
Use different sizes radio buttons (default, small, etc.) in your application.
The label property is used to define the ASP.NET MVC Radio Button caption. Position the label before or after the radio button.
The appearance of ASP.NET MVC Radio Button UI can be customized.
The ASP.NET MVC Radio Button is used to select a single option from the logically grouped options set.
Seamlessly supports HTML, template-driven (Angular), and reactive forms.
The ASP.NET MVC Radio button control supports built-in themes such as Bootstrap 5, Tailwind CSS, Fluent, high contrast, and more. Users can customize these built-in themes or create new themes to achieve the desired look and feel either by simply overriding SASS variables or using the Theme Studio application.
Customize the look and feel of the Radio Button by changing its fill color, background, border, and item opacity.
The Radio Button component is also available in Blazor, React, Angular, JavaScript and Vue frameworks. Check out the different Radio Button platforms from the links below,
Easily get started with the ASP.NET MVC Radio Button using a few simple lines of HTML and TS code example as demonstrated below. Also explore the ASP.NET MVC Radio Button example that shows you how to render and configure the Radio Button in ASP.NET MVC.
<div class="control-section">
<div class="radio-control">
<h4 class="row">Select a payment method</h4>
<div class="row">
@Html.EJS().RadioButton("radio1").Label("Credit/Debit Card").Name("payment").Value("credit/debit").Checked(true).Render()
</div>
<div class="row">
@Html.EJS().RadioButton("radio2").Label("Net Banking").Name("payment").Value("netbanking").Render()
</div>
<div class="row">
@Html.EJS().RadioButton("radio3").Label("Cash on Delivery").Name("payment").Value("cashondelivery").Render()
</div>
<div class="row">
@Html.EJS().RadioButton("radio4").Label("Other Wallets").Name("payment").Value("others").Render()
</div>
</div>
</div>
namespace EJ2MVCSampleBrowser.Controllers.Button
{
public partial class ButtonController : Controller
{
public ActionResult RadioButton()
{
return View();
}
}
}
You can find our ASP.NET MVC Radio Button demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.