DayPilot.Scheduler.timeRangeSelectedHandling

The timeRangeSelectedHandling property (string) specifies how the onTimeRangeSelected event of the JavaScript Scheduler component should be handled.

Possible values:

  • "Disabled" - time range selecting is not allowed
  • "Enabled" - time range selecting is enabled; the selection stays active until you call update() or clearSelection()
  • "PostBack" - fires TimeRangeSelected using PostBack (ASP.NET WebForms)
  • "CallBack" - fires TimeRangeSelected using CallBack (ASP.NET WebForms, ASP.NET MVC, Java)
  • "JavaScript" - fires onTimeRangeSelected (legacy; only applies to ASP.NET WebForms, ASP.NET MVC where api=1)

Default Value

"Enabled"

See Also

Example

dps.timeRangeSelectedHandling = "CallBack";