Here's the mark-up:
<asp:GridView CssClass="gridView" ID="gridview1" runat="server" AutoGenerateColumns="true"
OnRowDataBound="gridview1_RowDataBound" AllowPaging="True" PageSize="10"
OnPageIndexChanging="gridview1_PageIndexChanging">
<HeaderStyle BackColor="#1B58B8" ForeColor="White" />
<AlternatingRowStyle BackColor="#098ad3" ForeColor="White" />
</asp:GridView>
I don't know why but the other gridView with AllowPaging
behaves normally but this one does not. It does not display the page numbers below the gridview. I use .NET Framework 3.5