Sticky Menu

2 posts, 0 answers
  1. Terry
    Terry avatar
    1 posts
    Member since:
    Dec 2015

    Posted 14 Dec 2015 Link to this post

    I've created a kendoMenu and I'm trying to make it "sticky". In other words, I want the menu to stay open unless I click on the menu itself...clicking anywhere outside the menu will not close it.

    What is the best approach for doing this?  Inside the close event (or somewhere else)?  Do you have any examples how I can determine what has been clicked?

     Thanks!

  2. Petyo
    Admin
    Petyo avatar
    2438 posts

    Posted 16 Dec 2015 Link to this post

    Hello Terry,

     

    indeed, the close event may be used for that - however, notice that the event itself does not expose any context about the reason for the closing (click, etc), so you may have to set up an additional click detection mechanism for that purpose. I am afraid that this is a fairly specific scenario, and we don't have an example available for it. 

     

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top