Click here to Skip to main content
11,570,741 members (45,456 online)
Rate this: bad
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 22: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

Advertise | Privacy | Mobile
Web03 | 2.8.150624.2 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2015
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