title: How to disable radiogroup?
body: <p>I am doing an application in asp.net mvc. I have a radiobuttongroup to be set as Yes always and I want to disable it. This is my radiobutton group..</p>
  
  <pre><code>@Html.RadioButton("rdoGp_PriTenant", "rdoGp_PriTenantYes", true)&lt;label&gt;Yes&lt;/label&gt;
  @Html.RadioButton("rdoGp_PriTenant", "rdoGp_PriTenantNo", false)&lt;label&gt;No&lt;/label&gt;
  </code></pre>
  
  <p>I tried</p>
  
  <pre><code>document.getElementById("rdoGp_PriTenant").disabled = true;
  </code></pre>
  
  <p>But it didnt work.Can anyone pls help..??</p>