The timeRangeSelectedPostBack() method raises the server-side TimeRangeSelected event using an ASP.NET WebForms PostBack.

Declaration

DayPilot.Navigator.timeRangeSelectedPostBack(start, end, day[, data])

Parameters

Notes

This is a legacy ASP.NET WebForms member for PostBack-based handling of Navigator date range selections. The signature mirrors the legacy server-side payload using start, end, and the clicked day, with optional custom data.

Examples

PostBack handling applies to the Navigator client object generated by the ASP.NET WebForms control. In this example, dp is that generated client object.

JavaScript (ASP.NET WebForms)

dp.timeRangeSelectedHandling = "PostBack";

The control invokes its PostBack method when a date range is selected. For standalone JavaScript and Angular, React or Vue applications, handle selection with DayPilot.Navigator.onTimeRangeSelected.