search
envelope-o
feed
check
Products
DayPilot Pro for JavaScript
DayPilot Pro for ASP.NET WebForms
DayPilot Pro for ASP.NET MVC
DayPilot Pro for Java
DayPilot
»
Forums
Home
Unanswered
Active
Tags
New Question
user
comment-o
FireFox context menu issue
Asked by Sheraz
16 years
ago.
When we right click on an event in firefox it shows context menu but also shows the browser menu on top of it.....
asp.net
bug
Comment posted by Dan Letecky
16 years
ago.
This can happen in on of the two cases:
In about:config, you have the
dom.event.contextmenu.enabled
preference set to
false
,
There is a JavaScript error during menu rendering. In that case, can you post the error details?
Comment posted by Anonymous
16 years
ago.
I'm having the same problem except in IE6. Any thoughts?
Comment posted by Dan Letecky
16 years
ago.
DayPilot uses "return false;" in the context menu handler (oncontextmenu) to prevent the standard context menu from appearing. In Firefox the user can forbid the default menu overriding using the config settings mentioned above (dom.event.contextmenu.enabled). In IE it's always allowed to override the context menu - it means that there was an error in the event handler.
One of the possible causes can be assigning a wrong ContextMenuClientName in BeforeEventRender event handler (it must be the value of DayPilotMenu.ClientObjectName property). ContextMenuClientName is useful when you need to assign the context menu for individual events.
Questions:
1. Does the DayPilot context menu appear below the standard one?
2. Does it happen in FF or other browsers as well?
Comment posted by Anonymous
16 years
ago.
The context menu displays behind the regular context menu. No, it displays correctly in FF.
Comment posted by Sheraz
16 years
ago.
i have been closing looking at this issue ad have found the exact case to reproduce this.
Whenever the eventclick is set to disabled context menu comes up with the default right click menu.
It works fine when event click is set to edit.
I hope this would help day pilot team track the error and rectify the problem hopefully in the coming release.
Comment posted by Dan Letecky
16 years
ago.
Sheraz,
Thanks for the reproduction instructions, that helps a lot! The fix will be included in the next release.
This question is more than 1 months old and has been closed. Please create a
new question
if you have anything to add.
Tools
E-mail notifications
Feed
Related Questions
EventStackingMode with Cell not allowing the right click menu on the event for Month caledar
Context menu postback
Scheduler - Browser context menu is shown on event right click
How to Hide Context Menu Item
How do I modify a database?
Right click from mobile
4.1 context menu error: 'previousSibling' is null or not an object.
Create and Assign event-specific contextMenus
Dynamic Context Menu - No longer works after upgrade
Right clicking context menu on mobile devices
Time range context menu does not work
Context Menu positioning issue after scrolling
Only allow users to edit their own events
Left Click Context Menu