Recent posts
Twitter RSS
Recent comments

Here is a quick tip I received from Rachel while working on a Silverlight project:

The built in validation for the Silverlight controls rely on a ValidationException being thrown. If you’re debugging the project this gets really annoying as Visual Studio will break on un-handled exceptions. To stop Visual Studio breaking on the unhandled Validation Exceptions you can follow the steps below:

1. Press Ctrl + Alt + E
2. Click Add
3. Select Type = Common Language Runtime Exceptions
4. Name = System.ComponentModel.DataAnnotations.ValidationException
5. Click OK
6. Expand Common Language Runtime Exceptions
7. For System.ComponentModel.DataAnnotations.ValidationException untick Thrown & User-unhandled
8. Click OK

Posted by Damon on 26. August 2009 17:25 under: Tips
 with 0 Comments