RadMenu ClickToOpen Mouseout to close

2 posts, 0 answers
  1. Nona
    Nona avatar
    3 posts
    Member since:
    Jun 2012

    Posted 27 Jun 2012 Link to this post


    I've been trying to figure out how to make the RadMenu expand on click, but close when the mouse moves away from the child item.

    I have been able to get it to work with a regular RadMenuItem as a child Item.

    However my child item is a custom Item Template.  With the custom item template, the Mouseover/out events just don't seem to fire.

    I have found some jquery methods to put on the div's in my custom item template, however, I'm not sure how to close the menu from inside the jquery event, since I don't have a reference to the radmenu or radmenuitem.

    I've searched long and hard on this site and others to figure out a solution.

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 27 Jun 2012 Link to this post

    Hi Nona,

    Try the following code snippet to achieve your scenario.

    <script type="text/javascript" >   
             function () {
             function ()
                 var menu = $find("<%=RadMenu1.ClientID %>");

  3. DevCraft R3 2016 release webinar banner
Back to Top