problem in gridview paging

Sep 10 2009 2:54 AM
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)