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 rangecommand- command value passed to the TimeRangeMenuClick eventdata(object) - additional custom data
s is a DayPilot.Selection object with the following properties:
start(DayPilot.Date) - selection startend(DayPilot.Date) - selection end
Example
dp.timeRangeMenuClickPostBack(selection, "Edit", { source: "menu" });
DayPilot