Thanks, Its too late now to think about, I will try your idea and post back
Main Topics
Browse All TopicsHi guys,
I am trying to create a pager helper based on number of rows
I can do all paging Ok but If I have a 100 the pager would render the numbers 1 to 100 as it should, I am trying to avoid this by having the pager uses a predefined number of page to render, IE if the variable holding the number of pages is 5 and I have 100 pages I need the pager to render 1 2 3 4 5 .... Next
I must be having a brain fart today since I have not been able to create the proper formula to render the pager properly when it comes to the "..."
The working pager is listed below, I removed my attempt to have the ... display properly to make the code easy to read.
Thanks
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: Solar_FlarePosted on 2009-08-11 at 19:46:11ID: 25075349
I am thinking something like this to render the current page and 5 pages either side of it?
if it's not what you were thinking hopefully it will spur some ideas...
Select allOpen in new window