AD
Administrator
Syncfusion Team
September 27, 2006 03:59 AM UTC
Hi Michael,
Yes. You can handle the CurrentCellErrorMessage event and display your own error message whenever the grids CurrentCell.DisplayWarningText (as a result of some kind of validation error) is called.
private void grid_CurrentCellErrorMessage(object sender, GridCurrentCellErrorMessageEventArgs e)
{
MessageBox.Show(e.Text,"CurrentCell Error",MessageBoxButtons.OKCancel,MessageBoxIcon.Error );
e.Cancel = true;
}
Let me know if you face any issues when implementing the above.
Best Regards,
Haneef