title: GridView OnSelectedIndexChanged event not firing
body: <p>I am trying to get the selected row of the <code>GridView</code>, and I know that I should be able to get that information based on the <code>OnSelectedIndexChanged</code> event. Whenever I click on the row, the event does not fire. </p>
  
  <pre><code>&lt;asp:GridView ID="GridView1" runat="server" GridLines="None"
    Width="930px" CellPadding="4" ForeColor="#333333" 
    onselectedindexchanged="GridView1_SelectedIndexChanged2"&gt;
    &lt;AlternatingRowStyle BackColor="White" /&gt;
    &lt;EditRowStyle BackColor="#2461BF" /&gt;
    &lt;FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /&gt;
    &lt;HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /&gt;
    &lt;PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /&gt;
    &lt;RowStyle BackColor="#EFF3FB" /&gt;
    &lt;SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /&gt;
    &lt;SortedAscendingCellStyle BackColor="#F5F7FB" /&gt;
    &lt;SortedAscendingHeaderStyle BackColor="#6D95E1" /&gt;
    &lt;SortedDescendingCellStyle BackColor="#E9EBEF" /&gt;
    &lt;SortedDescendingHeaderStyle BackColor="#4870BE" /&gt;
  &lt;/asp:GridView&gt;
  
  protected void GridView1_SelectedIndexChanged2(object sender, EventArgs e)
  {
      //string company = GridView1.SelectedRow.Cells[0].Text;
      Response.Redirect("Client_View.aspx", false);
  
  }
  </code></pre>
  
  <p>Any help with this would be appreciated. There is no code that I can see that resets its reference to another event, that I can see. </p>