Existing code is working fine with Infragistics 2014 vol2 win form, same code is not working when upgraded to Infragistics 2017 vol2.
While edit a cell value in grid below exception thrown. please help to resolve this issue.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.InvalidOperationException: Operation can not be performed when not in edit mode.
at Infragistics.Win.EditorWithMask.EnsureInEditMode()
at Infragistics.Win.EditorWithMask.get_Sections()
at Infragistics.Win.EditorWithMask.OnControlLeave(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnLeave(EventArgs e)
at Infragistics.Win.UltraWinGrid.UltraGrid.OnLeave(EventArgs e)
at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
Hello Vijay,
InvalidOperationException when calling DeactivateCell action in grid's Leave event has already been fixed internally and will be included in the next service release. I have created a private case CAS-194801-N1L4S7 for you to track this issue. I have linked this case to the relevant Development Issue 247788. so that you will be notified when the service release is available. You can see the service release schedule here: www.infragistics.com/.../service-releases
Let me know if you have any questions.
The fix for InvalidOperationException when calling DeactivateCell action in grid's Leave event is included in our latest service release. Please follow the instructions listed here in order to get our latest service release.
Let me know if I may be of further assistance.