Hi Pavithira,
Try this code snippet to resolve this.
int tristate = -1;
private void gridControl1_CurrentCellChanged(object sender, EventArgs e)
{
GridCurrentCell cc = this.gridControl1.CurrentCell;
if(cc.Renderer.StyleInfo.CellType == "RadioButton")
{
if(cc.Renderer.StyleInfo.CellValue.ToString() == "0")
{
int SelectedRowIndex = int.Parse(this.hs[cc.ColIndex].ToString());
if( SelectedRowIndex == cc.RowIndex)
this.gridControl1[cc.RowIndex,cc.ColIndex].CellValue = tristate = (tristate == 1)?0:1;
else
{
this.gridControl1[(int)(this.hs[cc.ColIndex]),cc.ColIndex].CellValue =1;
tristate = -1;
}
this.hs[cc.ColIndex] = cc.RowIndex;
}
}
}
.Net 2003 Sample:
http://www.syncfusion.com/Support/user/uploads/RadioColumnOption_2d0c601c.zipLet me know if this helps.
Thanks,
Haneef