title: PageIndexChanging in gridview won't fire
body: <p>I downloaded a free template from the internet and now I am using it in my project of ASP.NET. I have a gridview and I am using Paging but because of the template the PageIndexChanging event wont fire.</p>
  
  <p>Now is there a alternate to this because my data in the gridview is very large and so the gridview is getting very long and out of my template. Can this event fire on a button click?</p>
  
  <p>My .cs code is: </p>
  
  <pre><code>protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
  {
      GridView1.PageIndex = e.NewPageIndex;
      emp();
  }
  </code></pre>