The timeRangeMenuClickPostBack() method fires the server-side TimeRangeMenuClick event using PostBack.
Declaration
DayPilot.Calendar.timeRangeMenuClickPostBack(s, command, data)Parameters
s(DayPilot.Selection) - selected time rangecommand(string) - command namedata(object) - additional custom data
DayPilot.Selection is a simple class that has the following properties:
start(DayPilot.Date) - selection startend(DayPilot.Date) - selection endresource(string) - resource value (id)
Notes
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.
Example
dp.timeRangeMenuClickPostBack(s, command, data);See Also
DayPilot.Calendar.contextMenuSelection
DayPilot