LLBLGen Version: 2.6 Final (April 15th, 2009)
Template: adapter
.NET Version: 2.0
I have controls on a Windows form bound to fields of an Entity. As a user tabs off a control on the form, ValidateFieldValue() is automatically called and if the data the user entered is invalid, ValidateFieldValue() will call the entity's SetEntityFieldError() which will trigger the ErrorProvider component on the form to display the error.
But I noticed that if you don't change the data for a form control, the program will not try to set the entity field, therefore ValidateFieldValue() won't be called. So how can I display an error if, for example, a user tabs off a textbox for a required field without entering a value?