I'm trying to modify a web page developed by somebody else. I noticed two radio buttons don't toggle from 'Yes' to 'No' as they should.
There are other Yes/No radio buttons on the page that work but there doesn't seem to be any associated code - they just work automatically as they should.
The picture below shows the two I'm working with. I'm sure it doesn't help much.
Anyway, the code applies to new users that need a phone. I added this code to make the radio buttons work as they should but both can still be selected at the same time (no toggle):
protected void CBAvailablePhone_CheckedCh
ct sender, EventArgs e)
if (CBNeedPhone.Checked = true)
CBNeedPhone.Checked = false;
protected void CBNeedPhone_CheckedChanged
(object sender, EventArgs e)
if (CBAvailablePhone.Checked = true)
CBAvailablePhone.Checked = false;