I'm experience some behavior difference in the WebDataMenu vs. the UltraWebNavigator.
If you put a WebDataMenu on a form which includes an "a" tag on the same form with logic to include launching a popup window and partially obscure the WebDataMenu, you will be fine unless your mouse then hovers over the WebDataMenu again. This will result in the window changing focus, and the popup window will be hidden behind the original form. This is not the desired behavior and not the same as what was experienced using the UltraWebNavigator.
Environment: IG 2012.1
Browser: IE 9
Steps:
bind a WebDataMenu on your form.
create an "a" tag like outlined below.
debug page.
click on link, launch popup. Note original page is partially obscured by popup;
hover over webdatamenu. Note that the popup flips to behind the original form.
example:
<a href="BLOCKED SCRIPT Popup();">Google</a>
.....
function Popup() { var oWindow; var sOptions = new String(); var sUrl = new String(); var sTarget = new String(); sOptions = "scrollbars=1;menubar=0;toolbar=0;status=0;titlebar=0;resizable=yes;"; sUrl = "google.com"; sTarget = "MAILTOADDRESS"; oWindow = window.open(sUrl, sTarget, sOptions, true); oWindow.resizeTo(400, 450); }
Just noticed that this does not happen in Firefox. I have no idea why.
Hello Alan,
Thank you for posting in the community.
By default, WebDataMenu activates items automatically on hover and that is the reason for the window focus swtiching in your scenario. In order to avoid that, you can set theActivateOnHoverproperty of WebDataMenu to false.
Please let me know if this helps.
That's not going to work, because I need the menu to expand without having to click on the menu.
Thank you for your reply.
After testing this some more I noticed that the issue seems to occur only in IE9 compatibility mode. Please let me know if you are able to reproduce the matter in other document and browser mode configurations.
I'll continue to investigate the issue and will keep you posted of my findings.
according to the F12 debugging tool, I am running in IE9 standards mode and I am always using doctype:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Thank you for the additional information. I am still investigating the matter and will provide you with more information tomorrow.
Hello All,
Thank you for your replies.
It seems that this item has not been mentioned in the release notes for the latest service release, however I have double checked and the fix is included in build 2075 for volume 12.2. WebDataMenu's activation behavior should no longer take cause the window focus to be changed when a popup is present.
Please do not hesitate to contact me if you have any questions regarding this matter.
Yes, this is a version I am looking at. 2012.2.2075 - there is no mentioning of fix for this issue in the release notes.
12.1.20121.217812.2.20122.2075
I am looking at the release notes for 20122.2075 and for WebDataMenu seeing ony:
WebDataMenu Bug Fix Submenu shows white background while fading in under IE7-8WebDataMenu Bug Fix Can't navigate to Navigate URL when clicked outside of the WebDataMenu item text.
This issue is not mentioned. Is it really included?