I have a multipage control that has 5 tabs. On the 2nd tab Ihave a grid which displays order details and on the 5th tab I have another grid which allows the selection of a product to be inserted into the grid on tab #2. When the product row is double-clicked a RadWindow is popped into which the full order details can be added. On completing the data entry a button then inserts the added data into the datatable which is the source of the grid on tab #2 and executes a "CloseAndRebind" script in the window code-behind e.g.:
This script comes from one of your examples :
which bubbles back to the parent page and triggers this AJAX request to execute a ReBind on the grid in tab #2
The AJAX request triggers the NeedDataSource event of the grid on tab #2 to re-load the DataSource however on switching to tab #2 the grid was still showing the old data. At this point clicking the refresh option top-right of the grid the NeedDataSource event is again triggered and this time the new line is displayed.
I'd like the AJAX request to switch to tab #2 and then issue the refresh so coded:
However the swap back to tab #2 fails to happen and the grid is still not refreshed.