Error Template used to work.

Grids for WPF Forum

Posted 14 years ago by jeff jarrell
Version: 10.2.0532
This definition used to work. The backing data object would throw an exception and I could catch it with the ValidationErrorTemplate. Now VS2010 breaks on the exception in the business class and then it goes to our unhandled exception handler. It's been a while since I actually checked this, so it may not have anything at all to do with you. We are using 10.2.532.


    <actPropGrid:PropertyEditorsModifier x:Key="{x:Static actPropGrid:BuiltinEditors.PropertyEditorsModifierKey}">
                    <actPropGrid:PropertyEditorStyle Key="{x:Type TextBox}">
                            <Style TargetType="{x:Type TextBox}">
                                <Setter Property="Validation.ErrorTemplate"
                                                        Value="{DynamicResource {x:Static gr:ControlTemplates.RichToolTipValidationKey}}" />

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Jeff,

Sorry, I'm not sure what the issue could be. I just tested our Data Validation QuickStart in our Sample Browser, which uses code similar to yours, and it appears to work fine. If you can put together a small sample project that reproduces the issue and email it over to our support address, then we can take a closer look.

Actipro Software Support

Posted 14 years ago by jeff jarrell
I appreciate the quick look. I'm sure it's on my side.

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.