DayPilot.Scheduler.timeRangeSelectedHandling

timeRangeSelectedHandling (string)

Specifies how the TimeRangeSelected event should be handled.

Possible values:

  • 'Disabled' - time range selecting is not allowed
  • '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";

Main menu

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java