473,397 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Phone Book Tab Approach

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
Aug 25 '06 #1
1 1320
Have one URL in the link and pass the letter in the query string

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

Kevin Jones

Anthony Bollinger wrote:
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

Aug 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Shoval Tomer | last post by:
Hi, Can you recommend the best way (fast and most productive) to search an employees table? Let's say I have a table that has this kind of structure: firstname, lastname, state, city, street,...
10
by: Protoman | last post by:
How would I go about writing a OS for a cell phone? Thanks for the help!!!
2
by: Mike Turco | last post by:
I'm creating a fairly phone book for an organization (maybe 400 pages). Members are listed out by chapter with their phone number and all that. There is also to be an index by last name. In...
21
by: Kiran | last post by:
Hi, As I am preparing for Microsoft Certification, Can some one Suggest me one good book for C# Thanks Kiran
1
by: Jörg Schneider | last post by:
Hi, I am stuck with my first VB.Net and Compact Framework project (I come from Delphi) and need a little help to get started Requirements: My Application has to replace the provider dependent...
4
by: Earl | last post by:
I'm curious if there are others who have a better method of accepting/parsing phone numbers. I've used a couple of different techniques that are functional but I can't really say that I'm totally...
0
by: Egil Helland | last post by:
Hi, I am creating a list of phone numbers, and would like to have a feature similar to the address book in OS X - that is, when you click on a phone number, a semitranclusent, large banner...
10
by: Petr Jakeš | last post by:
I have a standard 12-key mobile phone keypad connected to my Linux machine as a I2C peripheral. I would like to write a code which allows the text entry to the computer using this keypad (something...
3
by: neeraj pandey | last post by:
Hi all, I need to implement phone book for WinXp. We have in built APIs for phone book for all windows mobile based OS. How can i implement the same thing for WinXP ?? I need ur...
7
by: simonZ | last post by:
I would like to buy a book with some windows application example in C# net , but all books I have found are only about theory. I would like to have a book, where is explained how to create...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.