I edit values in editors on EditorComponent, but not change value in entity, i want to raise"UpdateEntityValue" in BeforeCellUpdate event handler, after user change all values in editorComponent, but beforeCellUpdate event does not raised.
Please advice
Hello Kiryl,
Thank you for posting in our forums!
As I understand you are using UltraGrid that has data source against entities of Entity Framework. Also on a column/cell level, there is assigned editor component with values. Are you using UltraControlContainerEditor as editor component, since you have multiple values? Does the underlying data type of the editor`s hosting cell is entity class and you want to update its properties only when the user change them all? Please be aware that the BeforeCellUpdate event will be raised when you leave out of the current cell`s edit mode and you can compare the old and the new value of the cell, in order to prevent or update the cell`s value.
For further reference about the event please see the following documentation page:
http://help.infragistics.com/doc/WinForms/2014.1/CLR4.0/?page=Infragistics4.Win.UltraWinGrid.v14.1~Infragistics.Win.UltraWinGrid.UltraGrid~BeforeCellUpdate_EV.html
I am waiting for your response.