This is a migrated thread and some comments may be shown as answers.

RadioButton Set Current Selection

1 Answer 56 Views
Button
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 05 Sep 2012, 07:48 PM
Hello,

I have three RadButton controls, each having two states: selected or not selected.  I'm using RadioButton button type, so the three buttons are linked together.  I'm trying to select the last radio button by doing:

LastButton.Checked = True

But this isn't working for me for some reason.  So how do I programmably select the last radio button RadButton from the server?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Brian Mains
Top achievements
Rank 1
answered on 06 Sep 2012, 02:18 PM
Found the answer.  I had to say Checked=false on the other buttons, and then it worked.
Tags
Button
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Brian Mains
Top achievements
Rank 1
Share this question
or