May 06, 2015, 3:55 AM
[CLOSED] Checking the header checkbox automatically.
I am using checkbox selction model in a grid. And am checking some of the rows during the page load using the below code:
RowSelectionModel sm = this.grdTier3Mapping.SelectionModel.Primary as RowSelectionModel;
sm.SelectedRow = new SelectedRow(2);
sm.SelectedRows.Add(new SelectedRow(1));
sm.SelectedRows.Add(new SelectedRow(2));
The above code is working fine. But when I check all the rows during the page load, the header check box is not getting checked automatically. How can i get that done.
Last edited by Daniil; May 13, 2015 at 8:24 AM.
Reason: [CLOSED]