Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I created one webpage where I have three radiobuttons. I want the behavior that out of these 3 radiobuttons only one should be selectable at any time.
Please suggest how to go about solving this.

Thanks in advance!
Posted
Updated 14-Mar-11 5:09am
v3

You have to set all radiobuttons so they all reside in the same group.

Select the radio button and look in the properties window (F4) for the property called GroupName
 
Share this answer
 
v3
Comments
Manfred Rudolf Bihy 14-Mar-11 10:31am    
My 5!
When I read OP's question I was thinking what OP wanted was the default behavior, but had forgotten that they did have to be in the same group.
Sergey Alexandrovich Kryukov 14-Mar-11 16:12pm    
That is correct, my 5.
--SA
There is something called groupname [^]for RadioButtons.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 14-Mar-11 10:31am    
Good call! 5+
Sergey Alexandrovich Kryukov 14-Mar-11 16:13pm    
That is correct, too, my 5.
--SA
Manas Bhardwaj 14-Mar-11 17:00pm    
Thanks ... But isn't it weird that 2 ppl claim for 5, though there is only one vote so far ;)
Sergey Alexandrovich Kryukov 14-Mar-11 17:29pm    
That was my fault, sorry. I just checked it up by voting. It happens, please don't hesitate to remind if the vote is just forgotten.
Cheers!
--SA
Manas Bhardwaj 14-Mar-11 18:06pm    
No problem. Thanks :)

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