Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
I have got 4 radio buttons on my form and a button. the radiobuttons lbl names change when the button is clicked, the radiobuttons lble names are updated with record names from a database.

is there a way I can refresh these radiobutton to be unchecked whenever the radio buttons lbl name is changed.
For example the issue I'm having is when I select a radiobutton1 and click the Button the lblname updates but radiobutton remains checked.. is there anyway I can change to be unchecked when lbl name changes.

I have tried to put the 4 radiobuttons in a groupbox and run:
C#
groupBox1.Refresh()
it didn't work.

Thank you
Posted
Updated 26-Feb-14 4:50am
v2

1 solution

Set the checked value of all the radio buttons to false.
For e.g. rdBtn1.Checked = false;
 
Share this answer
 
Comments
1Future 26-Feb-14 11:35am    
Thank you sirr

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