The timeRangeDoubleClickCallBack() method executes the server-side time range double-click action using a CallBack (ASP.NET WebForms, ASP.NET MVC, Java).
Declaration
DayPilot.Calendar.timeRangeDoubleClickCallBack(start, end, resource, data)Parameters
start(DayPilot.Date) - start of the time rangeend(DayPilot.Date) - end of the time rangeresource(string) - resource of the time rangedata(object) - additional custom data
Notes
Use this legacy method to trigger the server-side time range double-click action and optionally include additional custom data with the callback request.
Use DayPilot.Calendar.timeRangeDoubleClickHandling to configure the default double-click action for time ranges. In the current JavaScript API, use DayPilot.Calendar.onTimeRangeDoubleClick before the default action and DayPilot.Calendar.onTimeRangeDoubleClicked after it.
Example
const dp = new DayPilot.Calendar("dp", {
// ...
});
dp.init();
const start = new DayPilot.Date("2026-03-09T09:00:00");
const end = new DayPilot.Date("2026-03-09T10:00:00");
dp.timeRangeDoubleClickCallBack(start, end, "R1", { source: "selection" });See Also
DayPilot.Calendar.timeRangeDoubleClickHandling
DayPilot.Calendar.onTimeRangeDoubleClick
DayPilot