Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I limit a CheckboxList to single selection?

Status
Not open for further replies.

millerk

Programmer
Jul 5, 2002
133
US
I have a db search page that gives the option of doing a "sounds-like" search. There are 2 types of sounds-like they can pick from, but I also want them to be able to pick neither.
So ideally, I'd like 2 checkboxes and I'd like the user to be able to select one or the other or neither.
Is this possible, or do I need to use a radiobuttonlist instead and add a 3rd radiobutton for "none"?
 
This a perfect application for using a RadioButtonList. Chekboxlists are for multiple selections, RadioButtonList, only one selection.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top