I have 3 reports where I have a checkbox column as the first column which a checkbox in the header as my select/unselect all checkbox. I use jquery to select/unselect all. Two of the reports do this select/unselect all correctly all of the time. One of the reports only do it correctly once.
The jquery code and checkboxes in the gridview are the same. Which makes sense since the behavior is correct the first time.
What is happening is that the checkboxes are getting set correctly but the browsers (ie, chrome and firefox) all do not show the checkboxes as selected in the rows (but the one in the header does). I can see this in the Developer tools. All the checkboxes show as checked when the header checkbox is selected and as unselected when the header checkbox is unselected.
I can manually, check the boxes in some of the rows and when unselected all, they disappear but when I then press the select all checkbox they still show on the screen as unselected (but as selected in the developer tools).
Any idea why that is the case?
It almost seems like the grid is getting rebound but that isn't the case.
Thanks,
Tom
The jquery code and checkboxes in the gridview are the same. Which makes sense since the behavior is correct the first time.
What is happening is that the checkboxes are getting set correctly but the browsers (ie, chrome and firefox) all do not show the checkboxes as selected in the rows (but the one in the header does). I can see this in the Developer tools. All the checkboxes show as checked when the header checkbox is selected and as unselected when the header checkbox is unselected.
I can manually, check the boxes in some of the rows and when unselected all, they disappear but when I then press the select all checkbox they still show on the screen as unselected (but as selected in the developer tools).
Any idea why that is the case?
It almost seems like the grid is getting rebound but that isn't the case.
Thanks,
Tom