We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

CellClick event catching and discarding exceptions

Thread ID:

Created:

Updated:

Platform:

Replies:

9770 Jan 9,2004 09:00 AM Jan 9,2004 10:49 AM Windows Forms 2
loading
Tags: GridControl
Sigurdur G. Gunnarsson
Asked On January 9, 2004 09:00 AM

I''m using the 2.0.1.0 beta. This has been bugging me for awhile, but the CellClick event consumes and discards all exceptions thrown inside code called from eventhandlers connected to the event. Maybe I''m missing something but I thought it was a best practise never to do anything like this? At least this is wreaking havok with my logging of unhandled exceptions :(

Administrator [Syncfusion]
Replied On January 9, 2004 09:53 AM

Syncfusion.Windows.Forms.ExceptionManager that has static members that you can use to control how the grid handles exceptions. For example, to suspend the grid''s error handling, try Syncfusion.Windows.Forms.ExceptionManager.SuspendCatchExceptions = true; You can also hook an event (Syncfusion.Windows.Forms.ExceptionManager.ExceptionCatched) to get any exception thrown, and handle them yourself.

Sigurdur G. Gunnarsson
Replied On January 9, 2004 10:49 AM

Thank you very much :) But this is quite confusing, especially since not all events behave like this.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;