Print Page | Close Window

Validation Example?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2105
Printed Date: 27-Apr-2025 at 1:35pm


Topic: Validation Example?
Posted By: BringerOD
Subject: Validation Example?
Date Posted: 27-Aug-2010 at 5:50pm
Using DevForce and WPF what are the steps to get your controls, like the TextBox, to show validation errors.



Replies:
Posted By: BringerOD
Date Posted: 28-Aug-2010 at 9:17am
Figured it out to some extent.
 
Entities.VerifierEngine.DefaultVerifierOptions.ErrorNotificationMode = VerifierErrorNotificationMode.NotifyAndThrowException;
 
With WPF you have to set the "ErrorNotificationMode" to "NotifyAndThrowException" becuase WPF is behind the times.
 
 



Print Page | Close Window