Silverlight 3 has it's own Attribute based validation framework and UI controls to show the broken rules. http://silverlight.net/samples/sl3/toolkitcontrolsamples/run/default.html
Is there a way to use CSLA rules with the new validations controls?
It is my understanding that their current strategy is exception-based. Which is really sad and limiting.
The "solution" is for SetProperty() to throw an exception if a rule is broken. But of course you can't provide very much meaningful data through an exception, so it is unlikely that more than one broken rule could be displayed, even if several are broken. And the concept of severities wouldn't work.
This is not to say that we won't provide a config switch so you can put CSLA into "dumbed-down exception mode" if you want to use the built-in stuff - but personally I suspect I'll keep using PropertyStatus because it is so much more powerful.
The reality is that even in WPF, which has a far more powerful model, I still use PropertyStatus because it is so much more powerful...
Copyright (c) Marimer LLC