Click here to Skip to main content
Sign Up to vote bad
good
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:43


1 solution

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
Your Filters
Interested
Ignored
     
0 OriginalGriff 345
1 Sergey Alexandrovich Kryukov 338
2 Arun Vasu 315
3 Maciej Los 208
4 Aarti Meswania 180
0 Sergey Alexandrovich Kryukov 9,755
1 OriginalGriff 7,549
2 CPallini 4,018
3 Rohan Leuva 3,362
4 Maciej Los 2,951


Advertise | Privacy | Mobile
Web01 | 2.6.130523.1 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid