Hi,
I'm used to refreshing a parent grid from a radwindow using the following code:
and in the parent page:
However I now have a situation where a page opens a RadWindow which then opens another RadWindow. I'd like the second radwindow opened to invoke the first function above, to refresh the 1st RadWindow opened. However it seems to want to address the original browser window. So in summary:
Page opens RadWindow1
RadWindow1 opens RadWindow2
RadWindow2's needs to call a javascript function in RadWindow1 to have it's content refresh when RadWindow2 is closed.
Thanks for anyone's help.
Steve
I'm used to refreshing a parent grid from a radwindow using the following code:
function
CloseOnReload() {
GetRadWindow().BrowserWindow.refreshChart();
GetRadWindow().Close();
}
and in the parent page:
function
refreshChart() {
debugger;
$find(
"<%= RadAjaxManagerBinAssignmentDetail.ClientID %>"
).ajaxRequest(
"RefreshChart"
);
}
However I now have a situation where a page opens a RadWindow which then opens another RadWindow. I'd like the second radwindow opened to invoke the first function above, to refresh the 1st RadWindow opened. However it seems to want to address the original browser window. So in summary:
Page opens RadWindow1
RadWindow1 opens RadWindow2
RadWindow2's needs to call a javascript function in RadWindow1 to have it's content refresh when RadWindow2 is closed.
Thanks for anyone's help.
Steve