Hi everyone!
I observe a freaking strange behaviour of a combobox databinding. I
isolated it to this situation:
We have a standart scenario, a user control/form with a combobox,
SelecedValue bound to some column of a datatable in a dataset through
bindingSource, and its Datasource set as another bindingSource,
connected to another, lookup table.
If we enter/leave combobox without changing dropdown selection,
nothing happens, ok, underlying data doesn't change.
Now the thing is, if we change combobox's datasource in any way (apply
filter,change bindingsource's datasource, change combobox's datsource
- all with same metadata),
and then we enter and then leave combobox, the underlying databound
data changes (the SelectedValue column in databound table).
In the callstack it seems that on combobox's validating, the
databinding decides to pull new data from lookup datasource.
And dont see why, it doesnt seem normal, am i going nuts or what?
Thank in advance if someone can bring in some light