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.
Up arrow icon