Hi there,
I've got a WebDataMenu which is used to open a new window when clicking on a menu item. In firefox, when I click the link, the window opens fine and the focus is correct - on the new window. In IE, however, when I click the link, the new window opens up, but focus is immediately removed from the new window and given to the opening window. I've attempted to put in a window.focus() call at the end of my click handler, but it looks as though the focus is being stolen after the click handler has finished executing. Is there a way of ensuring the newly opened window retains the focus for IE?
Thanks!
I have the same problem in IE 9.
I can make the window focus properly if I set ActivateOnHover = "false", but that is not the behavior I want. It seems to be related to the blurring of the menu item. I tried debugging the code and overriding the _navigateOnClick() function to set the window focus and tried setting the WebDataMenu's __cancelBlur property to false, but still no go.
Several people are obviously having this problem. Please get us a solution IG. Thanks!
Anthony, you're correct. Setting the ActivateOnHover to "false" resolved the focus issue for the new window. However, like you mentioned, the behavior isn't exactly what we're looking for as now it caused other selections to not load the current page.
Has there been a resolution to this issue? I just reproduced it again myself in IE 9.