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

RadWindow in a RadWindow

5 Answers 74 Views
Window
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 1
Ian asked on 07 Aug 2008, 08:12 AM
Hello Telerik Team,

Is there any way to pop a RadWindow out of another RadWindow?

What i have is a button that opens a Radwindow, in this RadWindow is an aspx with an image on it, when the user clicks the image another RadWindow will open.  The only problem i have is that the second RadWindow (When you click on the image) opens and is confined with the first RadWindow.  Is there anyway to get it to open as a separate RadWindow?

Thanks in Advance

Ian

5 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 07 Aug 2008, 08:31 AM
Hello Ian,

I believe that the following KB will be of help:

(ID#665) Opening a RadWindow from within RadWindow



Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ian
Top achievements
Rank 1
answered on 07 Aug 2008, 09:11 AM
Cheers for that it helped alot

Ian
0
Ian
Top achievements
Rank 1
answered on 07 Aug 2008, 09:22 AM
although the only problem i have now is the second RadWindow is opening behind the first RadWindow.  I tried using -

oBrowserWnd.radopen("

http://www.google.com?", "RadWindow1").setActive();

but that had no effect.

0
Georgi Tunev
Telerik team
answered on 07 Aug 2008, 10:14 AM
Hi Ian,

Try calling setActive() with a small timeout - actually a timeout of 0ms should do the trick.
e.g.
var oWnd = oBrowserWnd.radopen("mypage.aspx", "MyWindow");
window.setTimeout(function()
{
    oWnd.setActive(true);
},0);



Kind regards,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Ian
Top achievements
Rank 1
answered on 07 Aug 2008, 11:11 AM
cheers thats sorted it.
Tags
Window
Asked by
Ian
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Ian
Top achievements
Rank 1
Share this question
or