This is a migrated thread and some comments may be shown as answers.

Problem during Opening RadWindow

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rahul Khinvasara
Top achievements
Rank 1
Rahul Khinvasara asked on 20 Aug 2010, 10:57 AM
Hi,
I got one problem,I have one.aspx page say default.aspx page and in that page I have 4 iframe,in each frame I am showing differnt
.aspx page,In one of IFRAME .aspx page,I want to open Radwindow through javascript but the problem is that that radwindow come under IFRAME not above IFRAME,Please let me knowwhat to do,the code I used is

 

var oWnd = $find("<%=Radwindow7.ClientID%>");

oWnd.SetSize(550, 154);

oWnd.setUrl(

'../../testwindow.aspx');

 

oWnd..show();

I have other solution for opening popup on top of IFRAME like
var oWnd = window.top.radopen("../../testwindow.aspx?val='"+name+"'", null);

 

oWnd.SetSize(550, 154);

oWnd.Center();
using above code Radwindow open on top of IFRAME  But problem is that on first method status bar can be hidden
biut using second method status bar can not be hidden,I tried to set property like

 

oWnd.VisibleStatusbar=

false;
But it did not work.

Please reply me as soon as possible

 

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 24 Aug 2010, 07:51 AM
Hi Rahul,

RadWindow exists in the context of the page where it is created. It cannot be shown outside of the browser or the IFRAME's boundaries (if the page where it is created is displayed in an IFRAME). In your second approach (window.top.radopen()..), you are opening the RadWindow in the context of the topmost page, and in this page you have a RadWindowManager that has VisibleStatusBar set to false. Set it to true and RadWindow will be shown as expected.


Kind regards,
Georgi Tunev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or