DayPilot.Month.timeRangeSelectedHandling

timeRangeSelectedHandling (string)

Specifies how the TimeRangeSelect event should be handled.

Possible values:

  • 'Disabled' - time range selecting is not allowed
  • 'Enabled' - enabled
  • 'PostBack' - fires TimeRangeSelected using PostBack (ASP.NET WebForms)
  • 'CallBack' - fires TimeRangeSelected using CallBack (ASP.NET WebForms, ASP.NET MVC, Java)
  • 'JavaScript' - fires onTimeRangeSelected (only api=1)
  • 'Hold' - keeps the selection active (it's possible to invoke the context menu using right click); equivalent of 'Enabled'

Default Value

"Enabled"

See Also

Example

dps.timeRangeSelectedHandling = "CallBack";