Feb 03, 2011, 1:08 PM
[CLOSED] CheckboxSelection model from codebehind --> Check all checkbox in header
Hi,
When checking all checkboxes in a grid from codebehind like this:
Martin
When checking all checkboxes in a grid from codebehind like this:
RowSelectionModel sm = gpUitrusting.SelectionModel.Primary as RowSelectionModel;
foreach (DataRow dr in dtCheckedUitrusting.Rows) sm.SelectedRows.Add(new SelectedRow(Conversie.ToString(dr["nUitrustingid"])));
The "check all" checkbox in the header stays unchecked when i'm in a situation that all rows are check. Is there a way to accomplish that ? (it works clientside)Martin
Last edited by Daniil; Feb 07, 2011 at 2:49 PM.
Reason: [CLOSED]