Hi,
check all checkboxes in radgrid on button click. button is placed outside radgrid. I tried thos method on button click.
CheckBox chb;
for (int i = 0; i < RadGrid1.Items.Count; i++)
{
chb = (CheckBox)RadGrid1.Items[i].FindControl("chkSelectItem");
chb.Checked = true;
}
This will fix the check boxes in the radgrid on that page. if I move to another page(pagination), it will be unchecked in there.
Thanks in advance.
check all checkboxes in radgrid on button click. button is placed outside radgrid. I tried thos method on button click.
CheckBox chb;
for (int i = 0; i < RadGrid1.Items.Count; i++)
{
chb = (CheckBox)RadGrid1.Items[i].FindControl("chkSelectItem");
chb.Checked = true;
}
This will fix the check boxes in the radgrid on that page. if I move to another page(pagination), it will be unchecked in there.
Thanks in advance.