![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3
![]() |
CheckBoxList
whats the attribute of the CheckBoxList so i can have only 1 selected at a time. or should i do that in code?
|
|
|
|
|
|
#2 |
|
Hobbyist Programmer
Join Date: Mar 2005
Posts: 156
Rep Power: 4
![]() |
Re: CheckBoxList
Isn't that a radiobutton list?
|
|
|
|
|
|
#3 |
|
Hobbyist Programmer
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3
![]() |
Re: CheckBoxList
no its checkbox list. im using visual developer
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3
![]() |
Re: CheckBoxList
still they should have the same attribute name
|
|
|
|
|
|
#5 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 751
Rep Power: 3
![]() |
Re: CheckBoxList
Why not use a RadioButtonList though? The definition of that is single-select, whereas CheckboxList provides a multi-select functionality. Unless you want something that clears the rest, like this:
select all that apply: [] a [] b [] c [] none of the above
__________________
<insert disclaimer here> <insert shameless plug for Visual Studio here> |
|
|
|
|
|
#6 |
|
Professional Programmer
|
Re: CheckBoxList
You have to do that in code. On the CheckedChanged event , you clear all the currently checked items, and check the right one.
__________________
Don't take life too seriously, it's not permanent ! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|