In article <>, Alan Silver
<alan-> writes
<snip>
>How do I do validation for this? They must enter one of account number
>or address, but need not supply both.
>
>AFAICS, validation controls only fire if the control to be validated
>contains something, so if they don't enter an account number and don't
>enter an address, validation won't happen.
OK, I just found this which might be of use to others (watch out for URL
wrapping)...
http://groups.google.co.uk/group/mic...amework.aspnet
/browse_frm/thread/cd27e867f2b65cfb/9c58c0ab63b1c7ee
Basically it seems that if you leave the ControlToValidate property
empty, then the validator always fires, even if the control is empty.
HTH
--
Alan Silver
(anything added below this line is nothing to do with me)