3
Answers

enable/disable of buttons, textboxes

Kavya S

Kavya S

5y
621
1
when 1 of the radio button is enabled, i need to disable 2nd radio button and one of the textbox, I have done like this but its not working, please help me out with this.
 
Private void radiobutton1_CheckedChanged(object sender, eventargs e)
{
if (radioButton1.Checked == true)
{
radioButton2.Enabled = false;
textBox1.Enabled = false;
}
Answers (3)