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

Grouping grid and data source exception

Thread ID:





32674 Aug 5,2005 12:40 PM UTC Aug 5,2005 03:21 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On August 5, 2005 12:40 PM UTC

I do some validating in the ColumnChanging event handler of my datasource. If there is an error, I throw an exception. The grouping grid reacts to this by painting the column with a red error icon. However, it does not show the exception message in a message box. Is there a way I can the grid to display a message box also? I can of course display a message box myself in the ColumnChanging handler, but since the same datasource will also be edited by other viewers that do display a message box, this might lead to two identical messages boxes.

Administrator [Syncfusion]
Replied On August 5, 2005 03:21 PM UTC

I think you will have to have to listen to the ColumnsChanged event, and if there is a new RowError set, display the message. Here is a try at this using a hashtable to tack the errors on each row. http://www.syncfusion.com/Support/user/uploads/GGC_ColumnError_af89350.zip


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