Home Unanswered Active Tags New Question

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

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?

Asked by Anders Burla Johansen 3 years ago.
Replies

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 Dan Letecky 3 years ago.

in this case we wont be able to use bubble ?

or there is away to use both ?

Comment posted by az 3 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java