The timeRangeSelectedHandling property (string) sets the default action for time range selection in the Navigator component.
Declaration
DayPilot.Navigator.timeRangeSelectedHandlingPossible Values
"Bind"- updates the linked control automatically."None"- does not perform any default action."PostBack"- performs the default action using PostBack (ASP.NET WebForms only)."JavaScript"- performs the default action using client-side JavaScript (ASP.NET WebForms and ASP.NET MVC versions only).
Default Value
"Bind"Notes
It is only applicable to the ASP.NET WebForms and ASP.NET MVC versions of DayPilot.
Examples
JavaScript
const nav = new DayPilot.Navigator("dp", {
timeRangeSelectedHandling: "None",
// ...
});
nav.init();Angular
<daypilot-navigator [config]="config"></daypilot-navigator>config: DayPilot.NavigatorConfig = {
timeRangeSelectedHandling: "None",
// ...
};React
<DayPilotNavigator
timeRangeSelectedHandling="None"
{/* ... */}
/>Vue
<DayPilotNavigator
timeRangeSelectedHandling="None"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot