title: OnCheckedChanged event not firing
body: <p>I have a GridView with a column of checkboxes (the rest of the GridView is being populated from a database). I'm using AJAX to perform different functions, and I'm wondering if i'm just not calling the OnCheckedChanged event in the right place. Should it be wrapped in some sort of UpdatePanel? I'm still really new to how all of this works...basically what I'm aiming for is to change a bit value in my database when a checkbox is checked. I know the logic of how to do that, I just don't know if I'm addressing my OnCheckedChanged event the right way.</p>
  
  <p>.CS</p>
  
  <pre><code>        protected void CheckBoxProcess_OnCheckedChanged(Object sender, EventArgs args)
      {
          CheckBox checkbox = (CheckBox)sender;
          GridViewRow row = (GridViewRow)checkbox.NamingContainer;
          OrderBrowser.Text += "CHANGED";
      }
  
  
      }
  </code></pre>
  
  <p>.aspx</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  </code></pre>
  
  <p>
      
  
  
      
      
      
          
              </p>
  
  <pre><code>        &lt;asp:DropDownList runat="server" ID="orderByList" AutoPostBack="true"&gt;
              &lt;asp:ListItem Value="fName" Selected="True"&gt;First Name&lt;/asp:ListItem&gt;
              &lt;asp:ListItem Value="lName"&gt;Last Name&lt;/asp:ListItem&gt;
              &lt;asp:ListItem Value="state"&gt;State&lt;/asp:ListItem&gt;
              &lt;asp:ListItem Value="zip"&gt;Zip Code&lt;/asp:ListItem&gt;
              &lt;asp:ListItem Value="cwaSource"&gt;Source&lt;/asp:ListItem&gt;
              &lt;asp:ListItem Value="cwaJoined"&gt;Date Joined&lt;/asp:ListItem&gt;
          &lt;/asp:DropDownList&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;asp:Label runat="server" ID="searchLabel" Text="Search For: " /&gt;
          &lt;asp:TextBox ID="searchTextBox" runat="server" Columns="30" /&gt;
          &lt;asp:Button ID="searchButton" runat="server" Text="Search" /&gt;
      &lt;/div&gt;
  &lt;div&gt;
  &lt;asp:UpdatePanel ID = "up" runat="server"&gt;
  &lt;Triggers&gt;
      &lt;asp:AsyncPostBackTrigger ControlID = "orderByList"
      EventName="SelectedIndexChanged" /&gt;
       &lt;asp:AsyncPostBackTrigger ControlId="searchButton" EventName="Click" /&gt;
  &lt;/Triggers&gt;
  
  &lt;ContentTemplate&gt;
  &lt;div align="center"&gt;
      &lt;asp:GridView ID="DefaultGrid" runat = "server" DataKeyNames = "fName"
      onselectedindexchanged = "DefaultGrid_SelectedIndexChanged"
      autogenerateselectbutton = "true" 
      selectedindex="0"&gt;
      &lt;SelectedRowStyle BackColor="Azure"
      forecolor="Black"
      font-bold="true" /&gt;
      &lt;Columns&gt;
      &lt;asp:TemplateField HeaderText="Processed"&gt;
                  &lt;ItemTemplate&gt;
                      &lt;asp:CheckBox ID="CheckBoxProcess" runat="server" Enabled="true" OnCheckedChanged = "CheckBoxProcess_OnCheckedChanged" /&gt;
                  &lt;/ItemTemplate&gt;
              &lt;/asp:TemplateField&gt;
  
      &lt;/Columns&gt;
      &lt;/asp:GridView&gt;
      &lt;/div&gt;
      &lt;asp:TextBox ID="OrderBrowser" columns="100" Rows="14" runat="server" Wrap="false" TextMode="MultiLine" ReadOnly = "true"&gt;
      &lt;/asp:TextBox&gt;
      &lt;/ContentTemplate&gt;
      &lt;/asp:UpdatePanel&gt;
  
  
  
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>
  </p>