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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

catching GDBG exceptions

Thread ID:





41582 Mar 6,2006 02:24 PM UTC Mar 6,2006 03:04 PM UTC WinForms 1
Tags: GridControl
Asked On March 6, 2006 02:24 PM UTC

The GDBG sometimes throw exception appearing in a msg box, how can I catch such exceptions. I''ll like to catch and log such ecpetions instead of allowing them appear in pop up boxes.

stanleyj [Syncfusion]
Replied On March 6, 2006 03:04 PM UTC

Hi Kingsley, If the exception is of a validation one, like the column type is an into and the user enters input other than numbers, then you may use the custom validation. Please refer this forum and KB for more details and avoid raising a message box. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=36231 If that exception is something unwanted, you can ignore it through ResumeCatchExceptions. using Syncfusion.Windows.Forms; ExceptionManager.ExceptionCatched += new ExceptionCatchedEventHandler(ExceptionManager_ExceptionCatched); void ExceptionManager_ExceptionCatched(object sender, ExceptionCatchedEventArgs e) { ExceptionManager.ResumeCatchExceptions(); } Let me know if your requirement is different. Best regards, Stanley


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon