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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

a bug?

Thread ID:





2856 Feb 18,2003 10:13 AM UTC Feb 18,2003 01:15 PM UTC WinForms 1
Tags: GridControl
Lyubomir Konstantinov
Asked On February 18, 2003 10:13 AM UTC

Hi, I have an implementation of IBindingList containing instances of a class implementing IEditableObject. I am binding the list to a GDBG - so far so good. The problem is that when I throw an exception in BeginEdit() of the IEditableObject implementor (apparently the only way to say that the object cannot be edited right now :( ), GDBG swallows the exception and continues with the editing. Is that a bug, or is that the 'approved' correct behavior? Thanx, Lyubomir

Administrator [Syncfusion]
Replied On February 18, 2003 01:15 PM UTC

It is the way things are currently designed that the grid catches a lot of exceptions. But we will change this in the 2.0 version so that you have control over the exceptions that are thrown. Something like a global exception handler where you can then decide if you want specific exceptions to fall through or let the grid catch and eat the exception. Stefan


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon