title: Checked state of RadioButtons in GridView don't change after postback
body: <p>I have a Gridview control and I have placed a RadioButton in the itemtemplate. When I click a button I'm trying to get the checked property of the radio button. But When I click the checked property is always returning false. Please look into the below code and let me know where I'm making mistake.</p>
  
  <p>aspx Code</p>
  
  <pre><code>&lt;asp:GridView ID="gvDepartments" runat="server" AutoGenerateColumns="False" GridLines="None"AllowPaging="true" CssClass="mGrid" PagerStyle-CssClass="pgr" AlternatingRowStyle-CssClass="alt"&gt;
        &lt;Columns&gt; 
         &lt;asp:TemplateField&gt;
           &lt;ItemTemplate&gt;
                   &lt;asp:RadioButton ID="rdbtn" runat="server" /&gt;
           &lt;/ItemTemplate&gt;
         &lt;/asp:TemplateField&gt;
        &lt;/Columns&gt;
      &lt;/asp:GridView&gt;
  &lt;asp:Label ID="lbl" runat="server"&gt;&lt;/asp:Label&gt;
  &lt;asp:Button ID="btn" runat="server" Text="Save" OnClick="btn_Click" CssClass="button small"/&gt;
  </code></pre>
  
  <p>Code Behind on button click</p>
  
  <pre><code>foreach (GridViewRow row in gvDepartments.Rows)
  {
     if (row.RowType == DataControlRowType.DataRow)
      {
          RadioButton rd = (RadioButton)row.FindControl("rdbtn");
          lbl.Text += rd.Checked.ToString();// +rd1.Checked.ToString();
      }
  }
  </code></pre>
  
  <p>Result will be False always in the label always. I'm using Ajaxcontroltoolkit in the application, Above controls are present in the update panel and I even tried to placing button and event in the triggers but the result is same. Please help.</p>
  
  <p>Regards,<br/>
  Nuthan A R</p>