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.