Posted on: 11/26/2014 2:05:04 PM | Views : 355

I am using DataPager for pagination,
to go to the second page I have to click twice and after I am on the second page I can not go back
<asp:ListView ID="recipeList" runat="server" ItemPlaceholderID="itemContainer" OnPagePropertyChanging="ChangePage"> <LayoutTemplate > <ul class =" productList"> <asp:PlaceHolder ID="itemContainer" runat="server"></asp:PlaceHolder> </ul> </LayoutTemplate> <ItemTemplate> <asp:ImageButton ID="btnImgRecipe" runat="server" ImageUrl='<%# Eval("tumbImageLink") %>' CommandArgument='<%# Eval("recipeId") %>' OnClick="btnImgRecipe_Click" /> <asp:Label ID="lblTitle" runat="server" T ...

Go to the complete details ...