title: Enable/Disable <asp:Panel> and all its control using Javascript
body: <p>I have <code>asp:panel</code> on my page. At run time, I add controls to this panel, and I want to disable/enable all its controls as per business logic.</p>
  
  <p>I tried with this:</p>
  
  <pre><code>document.getElementById('mypanel').disabled = true;
  </code></pre>
  
  <p>But it is not working.</p>
  
  <p>Does anyone has any idea to make this work?</p>