Hi All,
I have a page called SearchForm.aspx that has 2 rad panes with rad splitter
In the first pane there is radiobutton list.on the SelectedIndexChanged event of it, i load a different pages(Page1.aspx, Page2.aspx) in the second pane using its conentURL property.
The whole page(SearchForm.aspx) is called from button click from another page(Caller.aspx) using RadWindow....
I need to close the SearchForm.aspx page from a button click from Page1.aspx or Page2.aspx
as the demos says in the page1.aspx page i used the following javascript to close but oWindow returns null always and it doesn't close!!!!
Please Help....
thanks
Asa'ad
I have a page called SearchForm.aspx that has 2 rad panes with rad splitter
In the first pane there is radiobutton list.on the SelectedIndexChanged event of it, i load a different pages(Page1.aspx, Page2.aspx) in the second pane using its conentURL property.
The whole page(SearchForm.aspx) is called from button click from another page(Caller.aspx) using RadWindow....
I need to close the SearchForm.aspx page from a button click from Page1.aspx or Page2.aspx
as the demos says in the page1.aspx page i used the following javascript to close but oWindow returns null always and it doesn't close!!!!
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> <script language="javascript" type="text/javascript"> function GetRadWindow() { var oWindow = null; if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well) alert(oWindow); return oWindow; } function windowClose() { GetRadWindow().close(); } </script> </telerik:RadCodeBlock> Please Help....
thanks
Asa'ad