"Custom" Paging

G

George Durzi

I'm looking to implement this paging for a list of clients. Instead of
paging with page numbers, or < and >. I want to provide A through Z for the
first letter of the last name of the client.

Hitting B for example, will give me the list of all clients with a last name
starting with B

Has this been done? Can anyone point me to an example?

Many thanks
 
K

Ken Cox [Microsoft MVP]

Hi George,

Check this out?

Letter/Alphanumeric Based Paging in ASP.NET
By Joseph S. Keller

http://www.codeproject.com/aspnet/LetterBasedPaging.asp


--

Important: Patch Windows *beyond* Blaster.
http://www.microsoft.com/technet/security/bulletin/MS03-039.asp


I'm looking to implement this paging for a list of clients. Instead of
paging with page numbers, or < and >. I want to provide A through Z for the
first letter of the last name of the client.

Hitting B for example, will give me the list of all clients with a last name
starting with B

Has this been done? Can anyone point me to an example?

Many thanks
 
A

Alan Corbett \(.NET MVP\)

What you're asking for is non-trivial, but can be done by extending the
control and overriding the OnItemCreated method -- the problem is, when you
get the e.ItemType.Pager (the property sent in the OnItemCreated method),
you have to remove all the controls (the page numbers are LinkButtons, by
the way) and add your own...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,818
Latest member
Brigette36

Latest Threads

Top