I have a radwindow which is opened using a javascript function as follows. However, when the radwindow pops up, the alert is displayed.
function OpenRadWindow()
{
var oManager = GetRadWindowManager();
var oMailWnd;
oMailWnd = window.radopen("MyModal.aspx");
oMailWnd.set_title("Modal Window");
oMailWnd.OnClientClose = HideActions();
oMailWnd.set_modal(true);
}
function HideActions() {
alert("Window Closed");
}
I have not been able to find anywhere that sets OnClientClose inside javascript. Could someone tell how to do this?