Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
Databinding problems, update is fired two times.
posted

Hi,

 

I have a form with some controls (UltraCheckEditors, UtraTextEditors,  UltraComboEditors...) that are bounded to some properties, the problem that this properties are updated two times ( this is for all controls) one time when propertie is changed and another time after validating. controls are bounded in this way :

(Example)

ultraCheckIsExternal.DataBindings.Add("Checked", object, "IsExternal", false, DataSourceUpdateMode.OnPropertyChanged);

 

when IsExternal checkBox is checked/unchecked the IsExternal setter is called  and when i move focus to another control the IsExternal setter is called again (no handlers for CheckChanged, Validating... ).

 

This behavior is for all controls in this form.

 

Best regards.

Parents Reply Children
No Data