I have a page that has a radgrid and several children grids in tabs under that main grid. Click a row on the master grid and all the child grids update. This is not the problem
Next I have and EDIT button at the top of the page. Clicking this spawns a RadWindow the contents of which is a seperate page which itself has 4 tabs. 1 of which contains a RadGrid.
So far my structure (in a psudocode kind of way) looks like this
LocationPage
RadWindow(EditLocationPage.aspx)
Tab1()
Tab2()
Tab3()
Tab4(AddressesRadGrid)
When data was changed on this page I ran this javascript to refresh the parent page grids. This too worked perfectly.
function CloseAndRebind(args) {
GetRadWindow().Close();
GetRadWindow().BrowserWindow.refreshGrid(args);
}
Now to the issue.
As I mentioned there is a grid on the popup page in the 4th tab. The way this page is set up is that you select a row, and then click a common Edit button to edit that row. Clicking the Edit button opens yet another RadWindow with a form for adding/editing Addresses.
Now my phsuocode model of my windows and such looks like this.
LocationPage
RadWindow(EditLocationPage)
Tab1()
Tab2()
Tab3()
Tab4(AddressesRadGrid)
RadWindow(EditAddress.aspx)
I'll cut to the chase, When I click the save button on the Edit Address page, the javascript above does not refresh the Address grid on the EditLocation page. It does however do what it always did. That is, refresh the grids on the parent page (LocationPage).
Seems that this line
GetRadWindow().BrowserWindow.refreshGrid(args);
...is the one I need to change.
Just, what do I change it too? How to a get a grid in a rad window to refresh?