is there such thing as resetting radio button?
i would like to create a reset button that will unchecked the checked radiobutton in windows form.. can i just clear it by using radio开发者_开发知识库button.Clear();?
Why not
radiobutton.Checked = false
?
Besides I don't see a Clear()
method for System.Windows.Forms.RadioButton
.
radiobutton.Checked = false;
radioButton1.Checked = false;
Ref.
I tried like this to clear the Radiobutton or RadiobuttonList
Radiobutton.ClearSelection();
its working..
精彩评论