DayPilot.Month.timeRangeMenuClickCallBack

The timeRangeMenuClickCallBack() method fires the TimeRangeMenuClick event on the server side using a CallBack (ASP.NET WebForms, ASP.NET MVC, Java).

Declaration

DayPilot.Month.timeRangeMenuClickCallBack(s, command[, data]);

Parameters

  • s (DayPilot.Selection) - selected time range

  • command (string) - command name associated with the clicked menu item

  • data (object) - additional custom data

DayPilot.Selection is a simple class that has the following properties:

Notes

Use this legacy helper to invoke the server-side time range menu command using a CallBack request.

The optional data parameter lets you include additional custom data with the callback request.

Example

dp.timeRangeMenuClickCallBack(s, "Insert", { source: "menu" });

See Also

DayPilot.Month.timeRangeMenuClickPostBack()

DayPilot.Month Class