Hi,
I'm having a problem where changes made to an UltraComboEditor aren't being commited because the user is clicking a button on a toolbar. I see there's an IsInEditMode property... but how to do I force the edit mode to exit programmatically?
I'm looking for something similar to the
UltraGrid.PerformAction(
The combo is directly on a form, not in a grid.
Thanks
Andy
Andy,
Try the UpdateData method.
-Matt
There is no UpdateData method, only Update, which causes a repaint.
My mistake, I was looking at the UltraCombo. In this case, you'll want to use the ExitEditMode method on the editor:
if(this.ultraComboEditor1.IsInEditMode) this.ultraComboEditor1.Editor.ExitEditMode(true, true);