There is a weird bug with IE 9. It happens sporadically. I am using the WebDataMenu in an aspx page. When a menu item is clicked the iframe below the WebDataMenu is populated with an aspx page. The aspx pages within the iframe are from different projects. Some of the projects are running .Net Framework 2. The WebDataMenu control I am using is 11.2.
The issue happens when the aspx page in the iframe is 2.0. First, the page must be posted back. After the post back I hover over the WebDataMenu. Once I move the mouse away from the WebDataMenu the browser's scroll bar auto scrolls down until the WebDataMenu is not in view anymore. This only happens if the height of the iframe is greater then the height of the browser.
Once this issue occurs it will continue to happen on every other page.
I set AutoPostBackFlags-ItemClick="Off", but that didn't work. I decided to go with a work around for this; any parent menu item that has child menu items will not populate navigateurl. Instead I moved those URLs to the child. By making this change everything is working fine. I just hope that the end users will accept it. LOL!
I want to thank you again for your help. The WebDataMenu and iframe issue would have been a major problem for me, but your quick reply helped me to meet my deadline.
Hello rfa,
You can correct this behavior by setting AutoPostBackFlags-ItemClick="Off" This will prevent Postbacks when menu item is clicked.
Inform me if this property resolved the last reported behavior.
The ActivateOnHover="false" fixed the my issue, but it is caused another problem for me. Now I have to click on the parent menu item to view all of the child menu items. This works fine unless one of the parent menu items point to a page; as soon as I click on the parent menu item the page is refreshed, and the child menu items don't show up.
How do you recommend I handle this?
Thanks for all your help.
Thank you for the sample.
I was able to reproduce the described by you behavior with it.
It was not present when “localhost” is used for testing and the scrolling appears to be done exactly to the iframe element. I have moved the table cell with iframe further down on the page and when menu lose focus the scrolling is made to the beginning of iframe.
That is probably causes by the focus changing – from the menu to the iframe.
If I set ActivateOnHover="false" this behavior is no longer present.
Can you test this approach on your setup to see if it stops scrolling?
The version I am using is 11.2.20112.2025 (Infragistics4). I attached another zip file with a working copy of the issue I am having.
To duplicate the issue you must first make sure that the URL is not pointing to localhost; it must point to the name of the PC it's on or the host head name. e.g. http://PCname/WebDataMenuBug/Default.aspx.
I hard coded some menu items. Hover over Google and click on Maps. You will see a link that says, "Open this content in a new window." Click on that link. Go back to the original tab/window. Now hover over the menu, and then move the mouse away from the menu. The browser scrolls the IE9 window down.
Thanks in advance.