I am trying to set the "DataSourceUpdateMode = OnPropertyChanged" for a column that is managed by Control Binding Manager, but I can't seem to get it to work at all.
It works for simple columns that are a part of the main entity, but not for any columns in other entities that are joined in the "Configure DataBindings" dialog.
ie. I can properly set the DataSourceUpdateMode for fields in the parent entity, but it doesn't seem to work for fields in related entities. for example, the following code works:
this.CBM.Descriptors.Get("Property").DataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged;
but this code does not:
this.CBM.Descriptors.Get("Table.Property").DataSourceUpdateMode = DataSourceUpdateMode.OnPropertyChanged;
It also does not matter if I use the overloaded "Get" method and pass references to the actual controls - if the control is bound to a property through a relation, it will not work.
I have tried adding "TextChanged" handlers to the necessary controls and calling Validate on the object, as well as calling ForcePropertyChanged, but neither of these solutions worked correctly.
Is there some trick to getting these controls to raise a "CurrentItemChanged" event?