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
| 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.