I believe that this online help
page will be of help. You can use the approach used in it and perform the desired code on the parent page. Please note that the rest of the implementation is not related to the RadWindow
control and you need to implement it yourself.
I hope this helps.
the Telerik team