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

Data validation

The grid prompts a validation for data type errors and we are able to overwrite that message text using the ErrorMessage property in CurrentCellValidating(). Is there a way to display custom Title and Icon on this message prompt.

2 Replies

AD Administrator Syncfusion Team July 20, 2004 12:50 PM UTC

No, not really. But if you are using a GridDataBoundGrid, then you can catch the grid.ValidateFailed event and display your own messagebox there setting e.Handled = true. If you are using a GridControl, then you can handle CurrentCellMovedFailed, and there display a message. You would want to set grid.CurrentCell.ErrorMessage = "" to tell the grid not to diplay its message in this case.


KK Kewalramani Kanchan July 21, 2004 09:10 AM UTC

Thanks....will try to implement the same

Loader.
Live Chat Icon For mobile
Up arrow icon