Free/busy information

It is possible to show free/busy information in DayPilotNavigator.

Steps

1. Set VisibleRangeChangedHandling property to CallBack.

2. Set DataSourceID (or DataSource) property. You can use the same data source for DayPilotNavigator and for the main DayPilot control.

3. Set DataStartField and DataEndField.

4. Handle VisibleRangeChanged event:

  • Use VisibleStart and VisibleEnd properties to get the visible range.
  • Call DataBind() in the to reload the data.

5. The prefix_busy class is applied (added) to the busy days (see also CSS styling).

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