Very simple method, use JS implementation:
page:
Headertext = "Department"> ask: BoundColumn> columns> private void dgUserList_PreRender (object sender, System.EventArgs e) {foreach (DataGridItem item in dgUserList.Controls [0] .Controls) {if (item.ItemType == ListItemType.Header) {CheckBox chkAll = (CheckBox) item.FindControl ( "chkAll"); System.Text.StringBuilder strScript = new System.Text.StringBuilder ( "