D
darrel
I'm stuck on some syntax. I'm building my own summary validator. I'm walking
through the controls to see which ones are validator controls. Then, for
each one that is, I want to check the isValid state:
if instr(child.GetType.ToString(), "validator") then
*check validity
End If
The problem is that I'm stuck on how to check the particular webcontrol to
see if it isValid
I can obviously grab the object and check:
RequiredFieldValidator_email.isvalid
but since I'm walking through each webControl, I need a way to check the
current control. Something like this:
if theCurrentControl.isValid then
But I'm totally stuck on the syntax for this.
-Darrel
through the controls to see which ones are validator controls. Then, for
each one that is, I want to check the isValid state:
if instr(child.GetType.ToString(), "validator") then
*check validity
End If
The problem is that I'm stuck on how to check the particular webcontrol to
see if it isValid
I can obviously grab the object and check:
RequiredFieldValidator_email.isvalid
but since I'm walking through each webControl, I need a way to check the
current control. Something like this:
if theCurrentControl.isValid then
But I'm totally stuck on the syntax for this.
-Darrel