From: Nathan Sokalski on
I have a custom validator that inherits from BaseValidator, and I need to be
able to access the control specified by the ControlToValidate property. The
only way I have been able to find to do this is to recursively use the
FindControl method, which can sometimes be inefficient depending on where
the control is located. I'm sure I'm not the first person to want to access
the ControlToValidate control in a custom validator, so does anybody know of
a more efficient way? Thanks.
--
Nathan Sokalski
njsokalski(a)hotmail.com
http://www.nathansokalski.com/