title: Disabled radio button losing value after postback
body: <p>I have two radio buttons that are disabled with javascript when the page loads. <code>RadioButton1</code> is checked by default. When I click the button to do a postback, the <code>RadioButton1</code> is no longer checked.</p>
  
  <p>Anyone know why ?</p>
  
  <p>Here's my code sample. The code behind is empty. </p>
  
  <pre><code>&lt;asp:RadioButton ID="RadioButton1" runat="server"  GroupName="group" Checked="true"/&gt;
  &lt;asp:RadioButton ID="RadioButton2" runat="server" GroupName="group" /&gt;
  &lt;asp:Button ID="Button1" runat="server" Text="Button"&gt;&lt;/asp:Button&gt;
  &lt;script type="text/javascript"&gt;
      window.onload = function () {
          var RadioButton1 = document.getElementById('&lt;%= RadioButton1.ClientID %&gt;');
          var RadioButton2 = document.getElementById('&lt;%= RadioButton2.ClientID %&gt;');
  
          RadioButton1.disabled = true;
          RadioButton2.disabled = true;
      };
  &lt;/script&gt;
  </code></pre>