I created and context menu that work with events and triggers the DayPilotCalendarDay_EventMenuClick() function, however if I wanted to use the context menu to create an event by right clicking on the day calendar, how can I have a secondary context menu that is not even driven and how to handle the callback in the C#.?
I did do that, in the design window I set the ContextMenuSelectionID = CalendarContextMenu however the event triggered by the right click goes to the DayPilotCalendarDay_Command(object sender, CommandEventArgs e) function with command = navigate.
Comment posted by Dan Letecky [DayPilot] 1 years ago.
That’s weird. The Command event handler with e.Command set to "navigate" is only fired if you call commandCallBack("navigate") on the client side or when you click a date in the DayPilotNavigator component with BoundDayPilotID/BoundDayPilotClientName property set.