Home Unanswered Active Tags New Question

Hiding Context Menu

I have a context menu (being assigned in code behind ,depending on status)

  • but if i right click an event to bring up the context menu
  • then click the event which displays a modal box
  • the context menu stays visible in the modal box and then when if i close the modal box and then select an item from the context menu it gives an error

is there anyway to hide a context menu (could be one of several ) when a modal box is displayed ?

also i am havin an issue where by i have a tool tip and the context menu displaying and they are overlapping so i cannot read the options on the context menu, is there a way to disable the tooltip on click of the event ?

thanks

Asked by Anonymous 6 months ago.
Replies

Disabling the tooltip (for all controls):

ShowToolTip="false"

The Bubble (http://www.daypilot.org/bubble.html) will be closed automatically when the context menu is open.

The workaround for closing the context menu is to use:

DayPilotMenu.menuClean();

This will close any open context menu, it's a "static" method.

Answer posted by Dan Letecky [DayPilot] 5 months ago.
New Reply
This reply is
Your name (optional):

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