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.

GridGroupingControl cell error message

Thread ID:





59467 Apr 13,2007 05:26 AM Apr 14,2007 02:06 AM Windows Forms 1
Tags: GridControl
Asked On April 13, 2007 05:26 AM

I have gridGroupingControl. I want to add cell error message into for example second cell in define column. How can I do it?

Jeba S [Syncfusion]
Replied On April 14, 2007 02:06 AM

Hi Vladymyr,

You can try handling TableControlPrepareViewStyleInfo or QueryCellStyleInfo and set the error message in the CellTipText property.

private void gridGroupingControl1_QueryCellStyleInfo(object sender, GridTableCellStyleInfoEventArgs e)
GridTableCellStyleInfo style = e.Style as GridTableCellStyleInfo;
if(e.TableCellIdentity.DisplayElement.Kind == DisplayElementKind.Record )
e.Style.CellTipText = "Your Error message";

Please refer the attached the sample that validates the cell value and shows the ErrorProvider with respect to the current cell in a button click.

Here is the link for the sample:

Kindly let us know if this helps.

Best Regards,


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.