The timeRangeMenuClickPostBack() method fires the TimeRangeMenuClick event on the server side using a PostBack in ASP.NET WebForms.
DayPilot.Month.timeRangeMenuClickPostBack(s, command[, data]);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:
start (DayPilot.Date) - selection start
end (DayPilot.Date) - selection end
dp.timeRangeMenuClickPostBack(selection, "Edit", { source: "menu" });