I am having a problem. I have a WebDataMenu control and under it is a ToolBar control.
When I Hover over a menu item and get the dropdown of sub items, I click on a sub Item and what happens is the submenu goes away and it activates the click even of the toolbar item underneath the submenu item?
How can I stop this from happening? Please respond ASAP as I am to go to production with this app tomorrow.
Hi again,
by looking at the markup I cannot tell why is the issue happening. Can you upload a sample web site that contains the whole aspx page that you have pasted above. If your page contains proprietary data please contact developer support and give the sample to them and they will help you resolve the issue.
Thanks,
Lubomir
Below is my HTML. Both controls are inside of their own UserControls and each is in their own row in a table.
<table border="0" cellpadding="0" cellspacing="0" style="width: 100%;"> <tr> <td class="MenuBorder" colspan="2"> <uc1:MenuBar ID="HomeMenuBar" runat="server" /> </td> </tr> <tr> <td class="ToolbarBorder" colspan="2"> <uc2:ToolBar ID="HomeToolBar" runat="server" /> </td> </tr> </table>
Hi there,
can you post the html page source? If you subscribe menu client side ItemClicked event and cancel the event, does it help to resolve the issue? This should not happen, because click event should be fired only after mousedone and mouseup are registered over a DOM element. Are you sure that menu is not contained in the toolbar? Because if it is this behavior is expected. And in order to prevent it you have to cancel the mouse done or mouse up events for the menu control.