Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
Javascript pop-up window in UltraWebGrid and UltraWebTab
posted

I'm experiencing some bizarre behavior with launching a pop-up window via Javascript -- window.open -- inside an UltraWebGrid in an UltraWebTab.  One of the columns in the grid is a TemplatedColumn, and in the CellTemplate is a simple hyperlink, the code for which is as follows:

<a href="#" onClick="BLOCKED SCRIPTwindow.open('File.htm")>View</a>

Here's the bizarre behavior: When I click the link, the pop-up window appears behind, and not in front of, the parent window.  I've tried focusing it -- var e  = window.open....e.focus() -- but that doesn't work. 

If I do the exact same thing on a page without the UltraWebTab, it works as expected: the pop-up window appears in front of the main window.  It seems that the UltraWebTab is somehow forcing the pop-up behind the main window.

Has anyone experienced this problem before?

I'm using version 6.3, BTW.

Parents
No Data
Reply
  • 28464
    posted

    Hello,

    This definitely seems weird. From what I can tell, this could be an issue with TargetFrame / TargetUrl and/or and z-index issue. You can also try a couple of things:

    1) Upgrade to newer versions of the controls

    2) Try updating to the latest available hotfix for 6.3

    3) Use our own WebDialogWindow control instead of Pop Up and see if it works better (available in our 8.1+ release).

    HTH,

Children