Simple Pager Template in ASP.NET Web Forms
Here's a simple pager template in ASP.NET Web Forms.
<PagerTemplate> Page: <%=gvPRocess.PageIndex + 1%> of <%=gvPRocess.PageCount %> <asp:button ID="btnFirst" runat="server" CommandName="Page" CommandArgument="First" Text="<<"/> <asp:button ID="btnPrev" runat = "server" CommandName="Page" CommandArgument="Prev" Text="<"/> <asp:button ID="btnNext" runat = "server" CommandName="Page" CommandArgument="Next" Text=">"/> <asp:button ID="btnLast" runat = "server" CommandName="Page" CommandArgument="Last" Text=">>"/> </PagerTemplate>
Comments
Post a Comment