Akshay

Akshay

  • NA
  • 82
  • 46.6k

Hide Jpages if item less than Page limit

Nov 15 2014 12:24 AM
i am using Jpages  FROM www.codeproject.com/Articles/275932/Lazy-Loading-in-Csharp 



NOW I AM FACING 1 PROBLEM IF MY PAGE CONTAIN ITEM LESS THAN PAGE LIMIT THAT TIME I DON'T WANT TO APPLY JPAGES ,JPAGES APPLAY ONLY WHEN MY PAGE LIMIT EXCEED.


IF i have 10 item
perPage: 5,
 that time jpages apply   ,it shows output like
<-Previous 1 2 Next->

 IF i have 5 item
perPage: 5,
 that time jpages apply   ,it shows output like
<-Previous 1  Next->

but that time i dont applay jpages  ,because that time i don't want to go next





Answers (3)