I have using DataBinding to bind the the Value property of the UltraComboEditor to the DataSource property. The binding is setup on DataSourceUpdateMode.OnValidation. I also have a ValueList setup on the UltraComboEditor.
When I select an item from the list the selected item (value) is not set on the DataSource until I tab out. I understand tab out would cause the control to validate. However I want value to be updated immediately when the dropdown list closes and not wait for tab out.
Hi,
If you want the data source to be updated when the user chooses an item, then why are you setting the DataSourceUpdateMode to OnValidation? That's a contradiction. You should set it to DataSourceUpdateMode.OnPropertyChanged if that's the behavior you want.
If I set it on OnPropertyChanged it would trigger model update for every single character typed by the user. I only want to update the model when user has chosen an item from the list.
You will have to do that in code, then. There's no way for the BindingMmanager to make a distinction between selecting from the list and typing into the control.