Set the disabled state

1 Mar 20221 minute to read

RadioButton component can be enabled/disabled by giving disabled property. To disable RadioButton component, the disabled property can be set as true.

@Html.EJS().RadioButton("radio1").Label("Option 1").Name("default").Checked(true).Render()
@Html.EJS().RadioButton("radio2").Label("Option 2").Name("default").Disabled(true).Render()
@Html.EJS().RadioButton("radio3").Label("Option 3").Name("default").Render()


.e-radio-wrapper {
  margin-top: 18px;

button {
  margin: 20px 0 0 5px;

li {
  list-style: none;

public ActionResult Disabled()
    return View();