title: asp RadioButton not selected when Checked="true"
body: <p>I have two radio buttons "Yes" and "No" and I want the "No" radio button to be selected by default. However, I can't get it be be selected through the asp code or by the code behind. Am I doing this completely wrong or did I just miss something. </p>
  
  <p>ASP code:</p>
  
  <pre><code>&lt;div class="query_header" runat="server" id="ScanOnStartup"&gt;
      &lt;div class="formlabel" style="width: 300px"&gt;Perform Scan on startup&lt;/div&gt;
      &lt;div class="formfield" style="line-height: 10px"&gt;
          &lt;asp:RadioButton ID="scanOnStartupYes" Text="Yes" GroupName="ScanOnStartupRadio" runat="server" AutoPostBack="false"  Checked="false"/&gt;&amp;nbsp
          &lt;asp:RadioButton ID="sanOnStartupNo" Text="No" GroupName="ScanOnStartupRadio" runat="server" AutoPostBack="false"  Checked="true"/&gt;
      &lt;/div&gt;
      &lt;div class="formdivider"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Code behind:</p>
  
  <pre><code>    protected void Page_Load(object sender, EventArgs e)
      {
          if (!IsPostBack)
          {               
                  this.scanOnStartupNo.Checked = true;
  
          }
  </code></pre>