How to Control Grid Exception Handling in Windows Forms Grid Control

18 Nov 20181 minute to read

Syncfusion.Windows.Forms.ExceptionManager has static members that you can use to control how the grid handles exceptions.

To suspend the grid’s error handling, try.

//Suspends Grid's Error Handling.
Syncfusion.Windows.Forms.ExceptionManager.SuspendCatchExceptions()
'Suspends Grid's Error Handling.
Syncfusion.Windows.Forms.ExceptionManager.SuspendCatchExceptions()

NOTE

You can also subscribe to an event (Syncfusion.Windows.Forms.ExceptionManager.ExceptionCatched) to get any exception thrown and handle them by yourself or re-throw them.