Silverlight Dataform validation doesn't work
- by VexXtreme
Hi
I can't get dataform and it's controls to catch exceptions when validating.
Fir instance, I have:
<PasswordBox Password="{Binding Password,Mode=TwoWay,NotifyOnValidationError=true,ValidatesOnExceptions=true}" />
All required properties are set to true.
In the setter of my Password property I throw a ValidationException upon failed validation, but the data form doesn't catch it, it just causes the application to crash as if it were a normal exception.
Am I doing something wrong?
Thanks