Hi, I'm using a list view in which I have placed a grid view which contains a checkbox in the header template. Now if this checkbox is checked and I press the clear button then all the checkboxes in that column are unchecked, but that specific checkbox which is in the header is unchecked. What I want is that when the clear button is pressed, that checkbox also should be unchecked.
A:
jst try this
CheckBox cb2 = (CheckBox)Convert.ChangeType((GridView1.HeaderRow.FindControl("chk_select_all")), typeof(CheckBox));
cb2.Checked = false;
Kuku
2010-09-14 10:57:51