Hi,
I've got an application in which you can switch between a form with a datagridview to single record form. The first time a record (Primary Key is provided in the constructor of the form) is databound and changed all goes well.
The second time the same record is opened in the single record form the databinding goes well but changes to any of the databound values are not accepted by the form.
I've done some research and found out the following:
The Event PropertyChanged of the Entity is raised after a databound field is changed on the form. Subsequently the Validating Event of the TextBox is raised but on entry the Cancel value of the CancelEventArgs is already set to True.
Does anyone know what can cause this behaviour or how it is possible that the e.Cancel is already True at the start of the validating Event.
Thanks,
Edward Kranenburg
http://www.grontmij.nl