Hi Vito,
You can use the OverrideSettingsControlCellRenderer.ClikcontrolName property to find the name of the clicked control. Please refer to the attached sample for more details.
activeControl._chbxMarketOnOff.Click +=new EventHandler(controlClick);
activeControl._chbxAutoExec.Click +=new EventHandler(controlClick);
public string ClickcontrolName = string.Empty;
private void controlClick(object sender, EventArgs e)
{
Control c = sender as Control;
ClickcontrolName = c.Name;
if( c is CheckBox )
this.Grid.RaiseCheckBoxClick(this.RowIndex,this.ColIndex, new MouseEventArgs(MouseButtons.Right,1,Cursor.Position.X,Cursor.Position.Y,1 ) );
else
this.Grid.RaiseCellClick(this.RowIndex,this.ColIndex, new MouseEventArgs(MouseButtons.Right,1,Cursor.Position.X,Cursor.Position.Y,1 ) );
}
Sample :
http://www.syncfusion.com/Support/user/uploads/UserCellGrid_798f9c08.zipLet me know if this helps.
Best Regards,
Haneef