Solved

Radio button not working correctly

Posted on 2009-05-04
6
407 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 74

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 200 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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 6

Accepted Solution

by:
Cebik earned 300 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now