Description:
Is it possible to get the display text selected in a RepositoryItemLookUpEdit even before the datasource bound to the gridcontrol is updated?
Answer:
Yes, it is possible. We advise that you use the ValueChanging event. Here is some sample code:
C#private void repositoryItemLookUpEdit1_ValueChanging(object sender, DevExpress.XtraEditors.Controls.ChangingEventArgs e) {
DevExpress.XtraEditors.LookUpEdit edit;
edit = sender as DevExpress.XtraEditors.LookUpEdit;
string displayText = edit.Properties.GetDisplayValueByKeyValue(e.NewValue).ToString();
... // your code is here
}