Tell the Debugger to Ignore Silverlight Validation Exceptions
Posted by: JohnPapa.net,
on 17 Sep 2009 |
View original | Bookmarked: 0 time(s)
I recently wrote an article that demonstrates how to use the DataForm and validate data entry in Silverlight using the DataAnnotations. One of the pet peeves I have with the validation is that it throws in exception in the setter of your public property. Putting my disagreements with that aside for a second, it causes a major inconvenience when debugging the application. For example, when running the application that uses the DataAnnotations and one of the conditions is violated, the debugger will...