New Prometheus RadMenu item closing problem

4 posts, 0 answers
  1. lakshmi
    lakshmi avatar
    11 posts
    Member since:
    Feb 2008

    Posted 25 Apr 2008 Link to this post

    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.

  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 25 Apr 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. lakshmi
    lakshmi avatar
    11 posts
    Member since:
    Feb 2008

    Posted 25 Apr 2008 Link to this post

    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



     

  5. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 28 Apr 2008 Link to this post

    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
Back to Top