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.

catching GDBG exceptions

Thread ID:





41582 Mar 6,2006 09:24 AM Mar 6,2006 10:04 AM Windows Forms 1
Tags: GridControl
Asked On March 6, 2006 09:24 AM

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 10:04 AM

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.

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.