This is a migrated thread and some comments may be shown as answers.

Submenu staying open.

5 Answers 104 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Zachary
Top achievements
Rank 1
Zachary asked on 08 Sep 2011, 06:37 PM
I am having an issue with my radmenu submenu not closing when I have EnableRootItemScroll = "true".

I found the same bug here on the website in this location: http://demos.telerik.com/aspnet-ajax/menu/examples/functionality/scrolling/defaultcs.aspx

To reporduce:
Mouse over "Format"
Then "Font"
Them mouse over one of the fonts(ex. Verdana)
Then move your mouse up out of the menu.

All the submenu's should stay open. All the browsers I have tested this on have the same result.

If somebody knows a fix to this that would be a great help.

Thanks
Zach

5 Answers, 1 is accepted

Sort by
0
Kevin
Top achievements
Rank 2
answered on 09 Sep 2011, 01:19 PM
Hello Zachary,

In order for them to remain open when you leave them, you need to set ClickToOpen="true". This will force the menu to remain open until it some other control gains focus.

You can see it on this demo page:

http://demos.telerik.com/aspnet-ajax/menu/examples/default/defaultcs.aspx

You'll need to check off 'Click To Open' to see it in action.
0
Zachary
Top achievements
Rank 1
answered on 09 Sep 2011, 01:34 PM
Hello Kevin,

Thank you for the reply but I do not think I was very clear with what my problem is. My problem is not trying to get the submenu to stay open but my problem is that my submenu is staying open when it should not be. I have done a lot of testing and have figured out that my issue is caused by setting EnableRootItemScroll = "true". For some odd reason this caused the submenu to stay open when you mouse out of it.

Thanks
Zach
0
Kate
Telerik team
answered on 13 Sep 2011, 08:54 AM
Hello Zachary,

You can try to us the OnClientMouseOut event and explicitly close the menu when the mouse moves out of the RadMenu control.

Regards,
Kate
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Zachary
Top achievements
Rank 1
answered on 13 Sep 2011, 01:15 PM
Hello Kate,

Could you possibly give me an example of house this would work?

Thanks,
Zach
0
Kate
Telerik team
answered on 16 Sep 2011, 03:16 PM
Hello Zachary,

I tested the issue that you describe but still I am not able to get the behavior that you do. Please take a look at the attached video here.

Best wishes,
Kate
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
Tags
Menu
Asked by
Zachary
Top achievements
Rank 1
Answers by
Kevin
Top achievements
Rank 2
Zachary
Top achievements
Rank 1
Kate
Telerik team
Share this question
or