Hi
I am using the following code to select checkbox of a radgrid, but it's not working:
foreach (GridDataItem grdItem in grv_Person.Items)
{
if (grdItem.Cells[person_id_Column].Text == person_id)
{
((CheckBox)grdItem.Cells[2].Controls[0]).Checked = true;
grdItem.Selected = true;
}
}
I can confirm this is the last thing I do in prerender event. The grid check box just doesn't get selected
Thanks
I am using the following code to select checkbox of a radgrid, but it's not working:
foreach (GridDataItem grdItem in grv_Person.Items)
{
if (grdItem.Cells[person_id_Column].Text == person_id)
{
((CheckBox)grdItem.Cells[2].Controls[0]).Checked = true;
grdItem.Selected = true;
}
}
I can confirm this is the last thing I do in prerender event. The grid check box just doesn't get selected
Thanks