Kbase P169333: Why does setting the CausesValidation property to false cause changed data not to be sent back to a
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  7/7/2010 |
|
Status: Unverified
GOAL:
Why does setting the CausesValidation property to false cause changed data not to be sent back to a BindingSource?
GOAL:
How does the CausesValidation property interact with a BindingSource?
FACT(s) (Environment):
OpenEdge 10.2x
Windows
FIX:
The CausesValidation property, when set to true, fires the Validating and Validated events which are used by the BindingSource to grab the changed data. Setting this property to false suppresses the Validating and Validated events which means that the BindingSource has no way to determine that the data in the control has changed.
Do not set the CausesValidation property to false for any control that is updatable by the user and is bound to a BindingSource. The data will not be saved if this is done.