Click here to Skip to main content
12,254,879 members (66,017 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi,


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.


Thanks
Chonnu
Posted 2-Oct-12 22:43pm

1 solution

Rate this: bad
 
good
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.
  Permalink  

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.160426.1 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2016
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