search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to open context menu when left clicking instead of the default right click?

Asked by Anders Burla Johansen
11 years ago.

How to open context menu when left clicking instead of the default right click?

The DayPilotMenu isnt avaiable from code behind and it would be best if it could be done with javascript.

Someone who have had the same challenge?

Comment posted by Dan Letecky
11 years ago.

You have to switch to manual click handling using EventClickHandling="JavaScript" and call menu1.show(e) from EventClickJavaScript.

"menu1" is ClientObjectName of the menu and e is the DayPilotCalendar.Event / DayPilotScheduler.Event object (available in client-side event handlers as "e").

Comment posted by az
11 years ago.

in this case we wont be able to use bubble ?

or there is away to use both ?

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.