AS
Asarudheen S
Syncfusion Team
October 10, 2011 05:59 AM UTC
Hi Ram,
Thank you for your interest in Syncfusion products products.
Please make us of “TableControlCurrentCellValidateString” event to achieve the behavior. You can able set the error message here if the current cell validation fails.
void gridGroupingControl1_TableControlCurrentCellValidateString(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCurrentCellValidateStringEventArgs e)
{
if (e.Inner.Text ==string.Empty)
{
MessageBox.Show("CellValue cannot be empty");
e.Inner.Cancel = true;
}
}
Please let us know if I misunderstood your query.
Regards,
Asarudheen.