My default.aspx page, which is being opened using the RadWindow control, has a Cancel button which does not work in closing the window. I try the following, amongst many others, which does not work:
var oWindow = GetRadWindow();
window.opener = window.radWindow;
<button onclick="Cancel_Clicked();" class="bButton">Cancel</button>
When I open default.aspx in a separate window, the closing event works with the second Cancel_Clicked() function. But, nothing is successful in closing the default.aspx page when I open it in the RadWindow.