Click here to Skip to main content
15,868,164 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi ,
i have asp.net page in which i make 4 radiobutton list and i want that when i select selectall value of radiobutton list then it will select all the values of the radio button list .

is this possible?
Posted
Updated 17-Mar-13 20:19pm
v2
Comments
_Maxxx_ 18-Mar-13 2:30am    
Do you mean radiobutton or do you mean checkbox? With a radiobutton, its very nature is that only onbe of a group is selected at any one time.
supriya931 18-Mar-13 2:34am    
i mean radiobuttonlist. i want to select all values of the list by clicking selectall button
Ok let me tell you what I have understood.
You have one asp RadioButtonList and one asp Button (Select All).

Now you want -> when you click on the button, all the radio buttons under that RadioButtonList will be checked, right ?
supriya931 20-Mar-13 3:01am    
yes
Now do one thing.
Just post the html code you get after the page is rendered in browser.
I will do this for you.

1 solution

No, this is not possible and not conform with radiobutton list behavior.

This control provides page developers with a single-selection radio button group that can be dynamically generated through data binding.

Try to use checkbox list as _Maxxx_ mentioned or a list of single radio buttons 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