Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
520
Urgent: FormatException when entering invalid data in UltraGrid cell
posted

FormatException: "Input string was not in a correct format" error is thrown when I enter "abc" into a float column. 

None of the cell events is catching this exception including CellDataError, CellChange, Before/AfterCellUpdate, BeforeCellDeactivate, AfterExitEditMode.

The error kicks out directly to Application.Run in the Main() and crashes the app.

I don't think this should be the intended behavior. At any rate, any data exception should be trappable and not crash the app.

Is there an event or setting that I am missing?

I need to fix this asap.  Any help greatly appreciated.