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

New Prometheus RadMenu item closing problem

3 Answers 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
lakshmi
Top achievements
Rank 1
lakshmi asked on 25 Apr 2008, 06:26 PM
Hi,
I have Radmenu, When i click on the menu ,it pops up menu items and allows to select any item from it and the menu closes. But still the focus is on the menu.So the next time when i move the mouse over the menu, it pops up again but it should pop up menu items only on click.

Could you please help me to resolve this.

Dhana.

3 Answers, 1 is accepted

Sort by
0
Todd Anglin
Top achievements
Rank 2
answered on 25 Apr 2008, 09:56 PM
Dhana-

Thanks for the feedback. I don't think this is a change in the RadControls for ASP.NET AJAX behavior vs. the classic version of the controls. As far as I can tell, the RadMenu has always expanded menus on mouse-over if the click event has been fired and the focus on the menu has not been removed. Check out the classic example to see what I mean:

http://www.telerik.com/demos/aspnet/Menu/Examples/Overview/DefaultCS.aspx

Do you observe a different behavior in your older applications? Or is this your first time to use RadMenu and you're looking for new functionality?

-Todd
0
lakshmi
Top achievements
Rank 1
answered on 25 Apr 2008, 11:26 PM
Hi,
Thanks for the immediate response.

I saw solution from the forum,

To achieve mygoal the sample code below is the one i implemented :
  • Hook on the OnClientMouseOver event:
            <telerik:RadMenu ID="RadMenu1" runat="server"  
            ClickToOpen="True" Flow="Horizontal"  
            OnClientItemClicking="beforeClientClick" 
            OnClientMouseOver"OnClientMouseOverHandler"
  • Define the OnClientMouseOver event handler as follows:
function OnClientMouseOverHandler(sender, eventArgs) 
    if (eventArgs.get_item().get_parent() == sender) 
    { 
        sender._clicked = false
    } 

But now it is not working for the latest Telerik Q1 2008 -Version=2008.1.415.20. Is there any other solution for this?

-Dhana



 

0
Veselin Vasilev
Telerik team
answered on 28 Apr 2008, 08:57 AM
Hello lakshmi,

I have replied to your previos post on the matter. You can find it here: http://www.telerik.com/community/forums/thread/b311D-bbtgdk.aspx

I hope this helps.

Kind regards,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
lakshmi
Top achievements
Rank 1
Answers by
Todd Anglin
Top achievements
Rank 2
lakshmi
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or