I am not sure whether you want to close the RadWindow from the main page or from within its content page. That is why I will describe the both scenarios for you.
Closing a RadWindow from the main page
In order to close the RadWindow from the main page, you should first obtain a reference to it (e,g with $find, depending on your setup) and then call its method close().
Closing a RdaWindow from its content page (e.g on button click)
The logic is the same but in order to get a reference to the RadWindow from inside it you should use the following GetRadWindow() function:
var oWindow = null;
oWindow = window.radWindow;
else if (window.frameElement.radWindow)
oWindow = window.frameElement.radWindow;
After you have declared this function, you should reference the RadWindow object and close it when needed as GetRadWindow().close().
You can find the GetRadWindow function in our online demos and documentation, e.g in the article below:
and the close method is available in the control's client-side API reference:
I hope that my explanations are detailed enough and helpful, let me know how it goes.
the Telerik team