OrCompositeValidator

Topics: Validation Application Block
May 21, 2008 at 8:01 AM
Hi

if the OrCompositeValidator fails, is it possible to find out which of the contained validators failed?

Thanks, Peter
May 21, 2008 at 2:03 PM
Hi Peter,

Each validation result has a Validator property referencing the validator that generated it and a Tag property that stores a user-defined value. You can use any of these to identify what failed.

Hope this helps,
Fernando


xdzgor wrote:
Hi

if the OrCompositeValidator fails, is it possible to find out which of the contained validators failed?

Thanks, Peter