Hello,
I have two groupbox in a windows form, each containing a radiobutton.
If i check one radiobutton another should be unchecked.
Now I am using ultraoptionset control to replace windows control radiobutton.
I tried below code:
if ultraopionset1.Items(0).CheckState = CheckState.Checked then
ultraoptionset2.Items(0).CheckState = CheckState.Unchecked
End if
but, it is not working as expected.
How to set the control checked state to false?
Please find the attached snapshot .
Try:
ultraopionset1.CheckedIndex = -1;
or
ultraopionset1.Value = null;