I have 2 grids on 1 page and I am trying to change the page of each grid in one client side event. What is happening is the last call is the only one that is performed. I have tried multiple ways of changing the page. And still get the same result. Is this a known issue and is there a workaround.
Thanks
| TableView1 = $find("<%= TableView1.ClientID %>").get_masterTableView(); |
| TableView2 = $find("<%= TableView2.ClientID %>").get_masterTableView(); |
| function ChangePages(argument) { |
| //Method 1 |
| TableView1.page(argument); |
| TableView2.page(argument); |
| //Method 2 |
| TableView1.set_currentPageIndex(page); |
| TableView2.set_currentPageIndex(page); |
| } |
Thanks