function CheckBoxChange()
{
var r1 = document.all.grdTest_selectedRowIndex.value;
var x = parseInt(r1)+1;
if(document.getElementById("grdTest__ctl"+ x+"_chkMC").checked)
{
alert("checkbox is checked"+x);
return false;
}
}
{
var r1 = document.all.grdTest_selectedRowIndex.value;
var x = parseInt(r1)+1;
if(document.getElementById("grdTest__ctl"+ x+"_chkMC").checked)
{
alert("checkbox is checked"+x);
return false;
}
}