hi
Why do I want to uncheck all the form checkboxes, but the regular checkbox is done ?!
my code is
void ClearForm(GroupBox control){
foreach (Control chexkBox in control.Controls)
{
if (chexkBox is CheckBox)
{
((CheckBox)chexkBox).Checked = false;
}
}
foreach (Control textBox in control.Controls)
{
if (textBox.GetType() == typeof(TextBox))
{
((TextBox)textBox).Text = "no";
}
}
}
hi mr dinko
picture attach
The above telerik checkboxes do not remove their check, but the Visual Basic checkbox itself is removed.