Close menu on item click is causing an issue with hovering

2 posts, 0 answers
  1. Javier
    Javier avatar
    35 posts
    Member since:
    Aug 2011

    Posted 13 Oct 2011 Link to this post

    I looked around on the forums to find a way to close the menu on an item click and found that I could add a handler to the itemclicked event and use send.closer().

    Which does the job, but has a side effect.  When I close the menu it now shows when I hover over the menu, which is set to click to open.
    However, when I click the menu it goes back to normal and it works fine again...until I click a menu item again.

    Then hover is activated again.

    any advice?
  2. Javier
    Javier avatar
    35 posts
    Member since:
    Aug 2011

    Posted 13 Oct 2011 Link to this post

    Got it.

    I had to add this line.

    sender.set_clicked(false);
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top