2
Answers

problem in gridview paging

Ask a question
i m giving girdview paging  i have set allowpaging true but while runing its not showing the text like next,previous...... why it is so.? can anyone tell whtz wrong in my code.
<asp:PlaceHolder ID="plcInactive" runat="server">
    <asp:GridView ID="gvAgentInactive" runat="server" AutoGenerateColumns="False"
        onrowdatabound="gvAgentInactive_RowDataBound"
        onselectedindexchanged="gvAgentInactive_SelectedIndexChanged"
        onrowediting="gvAgentInactive_RowEditing" AllowPaging="True"
        onpageindexchanging="gvAgentInactive_PageIndexChanging" PageSize="5"
        onpageindexchanged="gvAgentInactive_PageIndexChanged">
        <PagerSettings FirstPageText="First" LastPageText="Last"
            Mode="NextPreviousFirstLast" NextPageText="Next"
            PreviousPageText="Pervious" PageButtonCount="5" Position="TopAndBottom" />

Answers (2)