|
For example: you have select all, not select two buttons at all.
Put
for (int i = 0; i <DataGrid1.Items.Count; i ++)
{
CheckBox chkTemp = (CheckBox) DataGrid1.Items [i] .FindControl ("CheckBoxID");
chkTemp.Checked = false;
}
Written in the "no selection" event. |
|