I am using a single level web menu i.e. without any child menu options and i want to navigate to a URL when the manu time is clicked. I achived this using the targetURL property but now when i hover over the menu (not clicking) and going anywhere else on the browser and pressing the spacebar, it executed the menu click i.e it opens the targetURL of the hover overed menu item. This happens on spacebar key press in the same page even if the cursor is not on the menu item.
I checked the same feature in the samples browser and it is happenening there too...so is this a bug?
I will appreciate any kind of help to resolve this.
Hi,
if I understand right you need something like, this:
<ig:WebDataMenu ID="WebDataMenu1" runat="server"> <Items> <ig:DataMenuItem Text="Item1" NavigateUrl="http://www.microsoft.com/"></ig:DataMenuItem> <ig:DataMenuItem Text="Item2" NavigateUrl="http://www.yahoo.com/"></ig:DataMenuItem> <ig:DataMenuItem Text="Item3" NavigateUrl="http://www.msn.com/"></ig:DataMenuItem> </Items></ig:WebDataMenu>
If it's working the way you need, you can use that code as a template. Otherwise can you send us a sample, because I cannot reprduce it on mine.
Thanks
Sorry I cut the rest of my post, accidently :)
If that's not your case, please send us a sample where we can reproduce the bug.
Thanks for the response.
This is exactly what i am already doing but let me describe the problem in detail. Below are the stpes to reproduce in the sample showed in your website itself.
Here is the link of samples for the version we are using
https://ko.infragistics.com/samples/aspnet
Now Go to WebMenu -> Keyboard Navigation on the left hand side menu
Hove over your mouse over the webmenu shown on the running sample tab. Just hover over and don't clikc any menu item
Now take your mouse to anywhere else, any other option on the left menu bar and press the spacebar key. You would see the webmenu's menu you hover over earlier get expanded.
I know why this happening....the onkeypress event is being captured and if it is spacebar then the menu is expanded.
Let me know if you still can't get it recreated so that i can send you stpes with screenshot.
Sorry for the spelling mistakes in the above post. This sites throws a lot of javascript errors in IE6 which i am using and there's no spellchecker implemented here. :)
Please contact Infragistics developer support for that problem
Hi.
Can you tell me how to do that? I prefer sending an email communication with the problem defined in it.
Hello Shershah25,
I see that you are using old version of our toolset. I would recommend to upgrade to the newer one. Currently the mentioned control is part of our legacy controls and this control will be retired soon. So, as alternative please take a look at the WebDataMenu : https://ko.infragistics.com/samples/aspnet/data-menu/overview . May be you could try to work around this problem as you handle key down event handler of the menu and cancel it if the space is hit.
Hope this helps.