Lets take a look in MSDN: InputExtensions.RadioButton Method (HtmlHelper, String, Object, Object)
There is a constructor:
public static MvcHtmlString RadioButton(
this HtmlHelper htmlHelper,
string name,
Object value,
Object htmlAttributes
)
You have property htmlAttributes
, where you could put your advanced HTML attributes (for example new { disabled = "disabled" }
):
@Html.RadioButton("rdoGp_PriTenant", "rdoGp_PriTenantYes", true, new { disabled = "disabled" })<label>Yes</label>
@Html.RadioButton("rdoGp_PriTenant", "rdoGp_PriTenantNo", true, new { disabled = "disabled" })<label>No</label>