Home Unanswered Active Tags New Question

Context menu postback

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?

Asked by John Stewart 4 years ago.
Replies
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).
Answer posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

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