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

Grouping grid and data source exception

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.

1 Reply

AD Administrator Syncfusion Team August 5, 2005 10:21 AM

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

Loader.
Live Chat Icon For mobile
Up arrow icon