Click here to Skip to main content
15,909,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to do that user can select only one value from checkboxlist in asp.net
Posted
Comments
Manfred Rudolf Bihy 14-Oct-11 5:06am    
[Moved from non-solution of devildx2050]

The purpose of checked list box is to select multiple values. Make your question clear what you actually want to do.
Manfred Rudolf Bihy 14-Oct-11 5:07am    
[Moved from OP's reply to above post]

I want the checkboxlist to work the same as a radio button list.
I.explore.code 14-Oct-11 11:05am    
I don't know why people can't just use radio button list if they want that kind of functionality? :)

 
Share this answer
 
v2
Comments
shijuse 14-Oct-11 10:53am    
thnx Anuja
Have a look at this: CheckBoxList Selection[^]
 
Share this answer
 
Standards are important on the internet. When a user sees a check list they expect to be able to select multiple things. When a user sees a radio list they know they can only make one choice. You don't have to do anything to communicate this to your users, they just know, no matter what browser they use, what country they are in, they all understand your form. When you do things like have single selection checklists it simply annoys and confuses your users as they are not seeing the behaviour they are expecting. So you should use a radio list instead.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900