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

Sticky Menu

1 Answer 71 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 14 Dec 2015, 06:47 PM

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!

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 16 Dec 2015, 04:35 PM

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!
 
Tags
Menu
Asked by
Terry
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or