Phone Book Tab Approach

  • Thread starter Thread starter Anthony Bollinger
  • Start date Start date
A

Anthony Bollinger

I am using a DataList and PagedDataSource to display a membership list. I
have Next and Prev links at the bottom of the data to navigate through the
entire data set. However, we want to be able to limit the view to all names
that begin with a certain letter. I can create 26 links with 26 different
click event methods on the server, but it seems there should be some way to
allow to pass the letter back to the server and just write one event method
to run the query versus 26. How would this be done?

Thanks!
Tony
 
Have one URL in the link and pass the letter in the query string

<a href="getPage.aspx?startletter=a">A</a>

Kevin Jones
 
Back
Top