[DevExpress Support Team: CLONED FROM A2750: How to use two XtraGrid controls to display collections of persistent objects with a one-to-many association]
Doesn't work with LookUpEdit as master(
How to use XPCollection with LookUpEdit to show master and detail data
Answers approved by DevExpress Support
Hi,
This behavior occurs since LookUpEdit does not update the CurrencyManager.Position property value when an edit value is changed. To avoid this shortcoming, handle the LookUpEdit.EditValueChanged event in the following manner:
C#void edit_EditValueChanged(object sender, EventArgs e) {
LookUpEdit edit = sender as LookUpEdit;
BindingManagerBase manager = edit.BindingContext[edit.Properties.DataSource];
manager.Position = edit.ItemIndex;
}
Let me know if this solution is helpful.