ASP.NET Core RadioButton Setup

Shield UI RadioButton for ASP.NET Core is a server-side wrapper component implemented as an ASP.NET Core MVC Helper.

For a detailed guide how to setup Shield UI for your ASP.NET Core project, check out this page.

The ASP.NET Core MVC helper API is a 1:1 mapping of the JavaScript RadioButton widget configuration, so you only have to get familiar with a single set of configuration options:

// JavaScript RadioButton demo
$("#radio1").shieldRadioButton({
    label: "Standard Delivery",
    checked: true
});
// ASP.NET Core RadioButton demo
@(Html.ShieldRadioButton()
    .Name("radio1")
    .HtmlAttribute("type", "radio")
    .HtmlAttribute("name", "option")
    .HtmlAttribute("value", "Standard")
    .Checked(true)
    .Label("Standard Delivery")
)

To see the configuration options in action, please refer to our online demos.