Add a Validation Rule twice to the same property?

Add a Validation Rule twice to the same property?

Old forum URL: forums.lhotka.net/forums/t/10939.aspx


reagan123 posted on Friday, December 02, 2011

Hello,
Quick question... We are using CSLA 4 and are trying to implement a "Range" rule that  basically checks that the property falls between a range of numbers.

The issue is that one of our properties needs to be checked against two ranges, so we add the rule to the property twice.  It seems like when we add the rule twice only one of the rules ends up being applied to the property.

Is there a recommended way to do this?

Thank you

Copyright (c) Marimer LLC