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

RadWindow popup-under issue

1 Answer 52 Views
Window
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 28 Aug 2008, 09:38 PM
I have a following configuration of controls and I can't get the desired result.

ParentPage (aspx)
- RadWindowManager
- RadWindow

Invokes the page below as a RadWindow

PopupWindow (aspx)
- RadWindowManager
- RadWindow

PopupWindow invokes another pick-list window that is supposed to be on
top of PopupWindow but it pops UNDER the PopupWindow instead.

Here's the invocation code:

function OpenPopup2()
        {
            var parentWindow = GetRadWindow().BrowserWindow;
            var windowManager = parentWindow.GetRadWindowManager();
            var objWindow = windowManager.open("/PopupWindow2.aspx", "Popupwindow2");
           
            objWindow.center();
            objWindow.SetActive(true);
           
            return false;
        }

Does this problem have to do with the fact that the popup is being invoked within an IFRAME?

From the parent window I can invoke indefinite number of child windows with correct display Z-order but it seems like I can't do it properly programmatically from a child IFRAME.

Any workaround for this?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 29 Aug 2008, 11:36 AM
Hi Paul,

Try calling the setActive() method with a small timeout - you can even use a timeout of 0ms:

window.setTimeout(function()
{
   objWindow.SetActive(true);
},0);



Greetings,
Georgi Tunev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Paul
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or