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";
}