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

Context menu postback

Asked by John Stewart
12 years ago.

I am trying to make my calendar work like outlook. When I select a time range and right click the context menu shows up but when I click on an item in the menu it will not postback.

I have TimeRangeSelectedHandling="Hold" and ContextMenuSelectionID="DayPilotMenu2". The following code is for my menu:

<daypilot:daypilotmenu id="DayPilotMenu2" runat="server">
<DayPilot:MenuItem Action="PostBack" Command="AddSchedule" Text="Make Appointment" />
</daypilot:daypilotmenu>

When I select When I click on "Make Appointment" in the menu it will not postback to my page. Is anybody else having this problem?

Answer posted by Dan Letecky
12 years ago.
CallBack and PostBack action types are not supported for time range selection context menu in 4.0 SP4 and previous versions. I've just implemented it (it will be included in 4.1).
This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.