I am having trouble unselecting the RadioButton, i.e. I've
got a RadioButtonGroup & 2 RadioButtons. RadioButtonGroup
property selectedValue initially equals null and both buttons are
unselected. As soon as I select any RadioButton by mouse click I
can't unselect it using selectedValue property.
Has anybody had the same problem ?
dpatterson83, Mar 25, 2008 6:58 AM
OK, my issue is this, I have a selected radio button and when
the user press that button again, I want to unselect it. the
problem I am having is that the RadioButtonGroup does not generate
an event for me to respond with the unselect. Any ideas?
I wrote this customized two radio button component that will
allow me to unselect the "Selected" radio button just by clicking
on it again. Say you click on radiobutton "Yes". Then you click on
it again, it will unselect. Please test this and give any feedback
to help improve the code. Thanks for your replies in advance: