I believe you can use the event CheckedChanged to call a function. When that happens, you can set the value to a variable and check which button is checked. Assuming you have radiuButton1 as one of the ID of the radio button, then you could use radioButton1.Checked to check which one is checked. Also make sure that both buttons are on the same group.
Comments
Leave a comment Trackback