DayPilot.Month.timeRangeMenuClickPostBack

The timeRangeMenuClickPostBack() method fires the TimeRangeMenuClick event on the server side using a PostBack in ASP.NET WebForms.

Declaration

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

Parameters

  • s (DayPilot.Selection) - selected time range

  • command - command value passed to the TimeRangeMenuClick event

  • data (object) - additional custom data

s is a DayPilot.Selection object with the following properties:

Example

dp.timeRangeMenuClickPostBack(selection, "Edit", { source: "menu" });