I have a long form to test, so I created a CompleteForm() helper method to complete the form. To test the validations, I am calling CompleteForm() and then making the field I want to test invalid. Can't figure out how to uncheck the radiobuttons.
+1
A:
Just set the Checked
property of the RadioButton
object to false
To uncheck all the radio buttons on a page you could do:
foreach(RadioButton rb in ie.RadioButtons)
{
rb.Checked = false
}
Sam Warwick
2009-02-02 01:43:11
I just found the comments feature. Thanks for your help; I new it would be something stupidly simple.
Leslie
2009-02-13 11:40:54