Dear Friends,
I created RadGrid with Enabled = "false". The grid got disabled.
Now i want to enable Grid cells when Edit Button click through Javascript.
I tried Like this
<ClientEvents OnBatchEditOpened="OnBatchEditOpened" />
//Enable/Disable Grid cell
function OnBatchEditOpened(sender, args)
{
if(EventID=="EDIT")
args.get_cell().getElementsByTagName("input")[0].disabled = false;
}
but the grid and cells are not enabling.
How to Enable ? Or what is wrong in this code.
Regards,
Rajendran
I created RadGrid with Enabled = "false". The grid got disabled.
Now i want to enable Grid cells when Edit Button click through Javascript.
I tried Like this
<ClientEvents OnBatchEditOpened="OnBatchEditOpened" />
//Enable/Disable Grid cell
function OnBatchEditOpened(sender, args)
{
if(EventID=="EDIT")
args.get_cell().getElementsByTagName("input")[0].disabled = false;
}
but the grid and cells are not enabling.
How to Enable ? Or what is wrong in this code.
Regards,
Rajendran