This question is locked. New answers and comments are not allowed.
I added a dropdown in the pager to allow the user to change the pageSize as shown in this thread. I have the Pageable Position set to GridPagerPosition.Both and the dropdown shows up in both. To set the dropdown selected item to the current pageSize, I added in the OnDocumentReady script:
This works, but it only changes the selected value in the header pager. The footer pager always has the first item in the list as the selected item. How do I access the pageSize dropdown in the footer pager to set the selected value of that dropdown also?
Thanks.
var value = "<%= (int)ViewData["pageSize"] %>"; $('#pageSize').val(value);This works, but it only changes the selected value in the header pager. The footer pager always has the first item in the list as the selected item. How do I access the pageSize dropdown in the footer pager to set the selected value of that dropdown also?
Thanks.