Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Radio button not working correctly

Posted on 2009-05-04
6
Medium Priority
?
427 Views
Last Modified: 2013-12-17
I had 3 radio buttons in a group box... I added a 4th radio button.  The first three radio buttons are unchecked when one of the other 3 are checked; however, I can check one of the first 3 and also check the 4th (in other words, when I checked the 4th, one of the first three remains checked).  

I know this is NOT normal behavior; the question I have is:  how do I correct this?
0
Comment
Question by:rmmarsh
6 Comments
 
LVL 6

Expert Comment

by:Cebik
ID: 24300629
cut this 4th radiobutton.. click on groupbox and paste it then..
0
 

Author Comment

by:rmmarsh
ID: 24300753
Sorry, didn't do a thing... still not acting properly...
0
 
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 800 total points
ID: 24300880
Try moving all the radio buttons to the form's surface, then delete the group box, then cut/paste the radios back to the group box. If that doesn't work, I would suggest removing all the controls and then re-adding everything.
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
LVL 6

Accepted Solution

by:
Cebik earned 1200 total points
ID: 24302727
check parent of radiobutton3 and radiobutton4 programaticly
i think they are different

radiobutton3.Parent
0
 

Author Closing Comment

by:rmmarsh
ID: 31577828
I found it... the first 3 radio buttons were not part of the group... thanks everyone...
0
 
LVL 3

Expert Comment

by:RobbP
ID: 24304815
Just make sure that all of your option buttons are listed in the radiobuttonList  tag, ie:

<asp:RadioButtonList ID="RadioButtonList1" runat="server"
                RepeatDirection="Horizontal">
                <asp:ListItem Value="0">Yes</asp:ListItem>
                <asp:ListItem Value="1" >No</asp:ListItem>
                <asp:ListItem Value="2" Selected="True">Maybe</asp:ListItem>
</asp:RadioButtonList>
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question