Hopefully this is a simple question.
I've got Radgrid (Ajaxed) and with Paging enabled
How do I create a label on the page and then have the label updated with the count of all selected items
I've correctly got this javascript attached to the RadGrids (ClientEvents - onrowcreated, onrowdeselected, onrowselected)
The problem is when i go to the next page my count resets so the actual count is never correct.
Can someone please explain how to get the count (the correct way ) with paging enabled.
I've got Radgrid (Ajaxed) and with Paging enabled
How do I create a label on the page and then have the label updated with the count of all selected items
I've correctly got this javascript attached to the RadGrids (ClientEvents - onrowcreated, onrowdeselected, onrowselected)
| var rgGrid = $find("<%= RadGridBirthdays.ClientID %>"); |
| var MasterTable = rgGrid.get_masterTableView(); |
| var selectedRows = MasterTable.get_selectedItems(); |
| document.getElementById('<%= this.SelectedCount.ClientID %>').innerHTML = selectedRows.length; |
The problem is when i go to the next page my count resets so the actual count is never correct.
Can someone please explain how to get the count (the correct way ) with paging enabled.