How can I hook up a row delete button to my GridView_RowDeleted event?
<p>I have created a <code>GridView</code> and set its header:</p>

<pre><code>&lt;asp:GridView ID="ProductsGridView" 
    DataSourceID="ProductsDataSource"
    AllowPaging="True" 
    AutoGenerateColumns="False"
    runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" 
    AutoGenerateDeleteButton="True"
    AutoGenerateEditButton="True"
    OnRowCancelingEdit="GridView1_RowCancelingEdit" 
    OnRowUpdating="GridView1_RowUpdating" 
    OnRowEditing="GridView1_RowEditing" 
    OnRowDeleted="ProductsGridView_RowDeleted" 
    onselectedindexchanged="ProductsGridView_SelectedIndexChanged"&gt;
</code></pre>

<p>I can see the delete button on the grid, but when I double-click on that button, Visual Studio takes me to:</p>

<pre><code>protected void ProductsGridView_SelectedIndexChanged(object sender, EventArgs e)
</code></pre>

<p>instead of:</p>

<pre><code>protected void ProductsGridView_RowDeleted(object sender, GridViewDeletedEventArgs e).
</code></pre>

<p>this event doesn't have info about the sending row. What am I missing?</p>
