Click here to Skip to main content
15,907,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello all,

sir i put a list view data pager in my website
bt when i run that page total 4 pages in the pager when
i clicking the next link the first page appear two time and 3 and 4 page appear only once.
but when i click on previous page all 4 pages appear only once
the other problem is when i click on the first page link the first page dont appear on single click
and the same problem is with the last page link



here is the datapager code
XML
<asp:DataPager ID="pageProducts" PageSize="4" PagedControlID="lvSubCategory" runat="server">
   <Fields>
             <asp:NextPreviousPagerField ButtonType="Link" ShowFirstPageButton="True" FirstPageImageUrl="~/Thumbs/1121.jpg"
               ShowNextPageButton="false"/>
              <%--  <asp:NumericPagerField />--%>
                <asp:NextPreviousPagerField ShowLastPageButton="True" LastPageImageUrl="~/Thumbs/AEI-5703.jpg"
             ShowPreviousPageButton="false" />

</Fields>
</asp:DataPager>




sir please help me out
thanks and regard
subiya
Posted
Updated 27-Mar-11 21:32pm
v2
Comments
OriginalGriff 28-Mar-11 2:41am    
Without any code, I couldn't possibly comment.
Edit your question, and supply relevant code fragments.
Sandeep Mewara 28-Mar-11 3:10am    
Not to clear and difficult to comment anything at all.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900