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

How to customize messages like "The ... column value can''t be null"

When I leave a row with a cell improperly filled I''m getting a subject message. It''s OK, but I''d like to put there my own. What can I do? Grateful in advance, Alexey

1 Reply

AD Administrator Syncfusion Team January 16, 2004 09:06 AM UTC

If it is a GridDataBoundGrid, you can handle the ValidateFailed event, and set the ErrorMessage there. this.gridDataBoundGrid1.ValidateFailed += new GridValidateFailedEventHandler(grid_ValidateFailed); private void grid_ValidateFailed(object sender, GridValidateFailedEventArgs e) { this.gridDataBoundGrid1.CurrentCell.ErrorMessage = "MyMessage"; }

Loader.
Live Chat Icon For mobile
Up arrow icon