How to control the way Grid handles exceptions
9 Dec 20191 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.