The timeRangeMenuClickPostBack() method fires the server-side TimeRangeMenuClick event using PostBack.
DayPilot.Calendar.timeRangeMenuClickPostBack(s, command, data)s (DayPilot.Selection) - selected time range
command (string) - command name
data (object) - additional custom data
DayPilot.Selection is a simple class that has the following properties:
start (DayPilot.Date) - selection start
end (DayPilot.Date) - selection end
resource (string) - resource value (id)
This legacy helper is used for server-side commands triggered from the time range context menu. It is applicable to the ASP.NET WebForms edition.
dp.timeRangeMenuClickPostBack(s, command, data);DayPilot.Calendar.contextMenuSelection