Click here to Skip to main content
12,753,195 members (39,353 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# ASP.NET

I'm using ListView to bind data and for paging I'm using DataPager

Problem is when I made a search and click on the 2 page or 3rd its showing , no pblm. But when I made a new search and the previous page is in 3rd then the new result show the page number as 3 instead of 1 ie the page no: is not changing . Any help will be appreciated.

Posted 2-Oct-12 23:43pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

you are missing the re initialization of the data pager and the ListView binding I believe, check that.

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100