Home Forums WinForms controls Xceed Grid for WinForms Catching exception from datatable… Reply To: Catching exception from datatable…

User (Old forums)
Post count: 23064

Yes, it only happens when in debug mode with debugger set to break on all exceptions. We have subscribed to the ValidationError event of both the datarow and datacell, as you described, and issue a ‘e.CancelEdits = False;’ to prevent the user from navigating from the cell when errors exists, it works brilliantly.

We were concerned with the debugger exceptions during development but will ignore them as you recommend since they have no noticeably ramifications on the applicatoin.

Thank you for your quick response!

Imported from legacy forums. Posted by janon (had 767 views)