title: Gridview PageIndexChanging event not firing
body: <p>I hav a gridview inside a usercontrol</p>
  
  <pre><code> &lt;asp:GridView ID="grdMissingFilterData" runat="server"   AllowPaging="True" Width="100%"
                          AllowSorting="True" AutoGenerateColumns="False" GridLines="None"
                          PageSize="30" OnPageIndexChanging="grdMissingFilterData_PageIndexChanging"&gt;
                          &lt;Columns&gt;
                              &lt;asp:BoundField DataField="Varenummer" HeaderText="Varenummer"   ItemStyle-Width="25%" &gt;
                              &lt;ItemStyle Width="25%" /&gt;
                              &lt;/asp:BoundField&gt;
                              &lt;asp:BoundField DataField="Varenavn" HeaderText="Varenavn"  ItemStyle-Width="15%" &gt;
                              &lt;ItemStyle Width="15%" /&gt;
                              &lt;/asp:BoundField&gt;
                              &lt;asp:BoundField DataField="Producentvarenummer" HeaderText="Producent varenummer"  ItemStyle-Width="15%" &gt;
                              &lt;ItemStyle Width="15%" /&gt;
                              &lt;/asp:BoundField&gt;
                          &lt;/Columns&gt;
                          &lt;AlternatingRowStyle CssClass="altrow" /&gt;
                          &lt;PagerSettings FirstPageText="First" LastPageText="Last" PageButtonCount="50" /&gt;
                          &lt;EmptyDataTemplate&gt;
                              There is no data available to display!
                          &lt;/EmptyDataTemplate&gt;
     &lt;PagerStyle CssClass="pager" /&gt;
      &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>and code in postback</p>
  
  <pre><code>if (!Page.IsPostBack)
      {  
          BindData(); 
      }
  </code></pre>
  
  <p>then i had a PageIndexChanging  event which never fires when i click on paging.</p>
  
  <pre><code> protected void grdMissingFilterData_PageIndexChanging(object sender, GridViewPageEventArgs e)
  {
      grdMissingFilterData.PageIndex = e.NewPageIndex;
      BindData();
  }
  </code></pre>
  
  <p>can any one give me any possible reasons?</p>