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

Hiding Context Menu

Asked by Anonymous
7 years ago.

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

Answer posted by Dan Letecky [DayPilot]
7 years ago.

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.

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