title: Gridview not working on PageIndexChanging
body: <p>I'm using gridview without datasource. On <code>PageIndexChanging</code> the page is blank.</p>
  
  <p>My backend code is:</p>
  
  <pre><code>protected void gridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
  {
      Gen_Lic_Grid.PageIndex = e.NewPageIndex;
      Gen_Lic_Grid.DataBind();
  }
  </code></pre>
  
  <p>My front end code is:</p>
  
  <pre><code>  &lt;asp:GridView ID="Gen_Lic_Grid" runat="server" AllowPaging="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="Lic_No" ForeColor="#333333" GridLines="None" OnPageIndexChanging="gridView_PageIndexChanging" PageSize="15" Width="110%"&gt;
     &lt;RowStyle BackColor="#F7F6F3" ForeColor="#333333" /&gt;
      &lt;Columns&gt;
   &lt;asp:BoundField DataField="Lic_No" HeaderText="License No" ReadOnly="True" SortExpression="Lic_No" /&gt;
   &lt;asp:BoundField DataField="UserID" HeaderText="User ID" SortExpression="UserID" /&gt;
   &lt;asp:BoundField DataField="Org" HeaderText="Organization" 
                                      SortExpression="Org" /&gt;
   &lt;asp:BoundField DataField="UserName" HeaderText="User Name" SortExpression="UserName" /&gt;
   &lt;asp:BoundField DataField="SolType" HeaderText="Solution Type" SortExpression="SolType" /&gt;
  &lt;asp:BoundField DataField="Version" HeaderText="Version" SortExpression="Version" /&gt;
  &lt;asp:BoundField DataField="Lic_Type" HeaderText="License Type" SortExpression="Lic_Type" /&gt;
  &lt;asp:BoundField DataField="Meap_Supp" HeaderText="Meap Support" SortExpression="Meap_Supp" /&gt;
  &lt;asp:BoundField DataField="Lic_From" HeaderText="License From" SortExpression="Lic_From" /&gt;
  &lt;asp:BoundField DataField="Lic_To" HeaderText="License To" SortExpression="Lic_To" /&gt;
  &lt;asp:BoundField DataField="Supp_From" HeaderText="Support From" SortExpression="Supp_From" /&gt;
  &lt;asp:BoundField DataField="Supp_To" HeaderText="Support To" SortExpression="Supp_To" /&gt;
  &lt;asp:BoundField DataField="Max_User" HeaderText="Max Users" SortExpression="Max_User" /&gt;
  &lt;asp:BoundField DataField="Max_Mach" HeaderText="Max Machines" SortExpression="Max_Mach" /&gt;
  &lt;asp:BoundField DataField="Mach_IP" HeaderText="Machine IP" SortExpression="Mach_IP" /&gt;
  &lt;asp:BoundField DataField="Mach_MAC" HeaderText="Machine MAC" SortExpression="Mach_MAC" /&gt;
  &lt;/Columns&gt;
  &lt;FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
  &lt;PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /&gt;
  &lt;SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /&gt;
  &lt;HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /&gt;
  &lt;EditRowStyle BackColor="#999999" /&gt;
  &lt;AlternatingRowStyle BackColor="White" ForeColor="#284775" /&gt;
  &lt;/asp:GridView&gt;
  </code></pre>