DayPilot Knowledge Base

AJAX Calendar/Scheduling Controls
DayPilot Pro (AJAX Calendar Control)
» DayPilot AJAX Calendar
DayPilot Pro (AJAX Monthly Calendar Control)
» DayPilot AJAX Monthly Calendar
DayPilot Pro (AJAX Scheduler Control)
» DayPilot AJAX Scheduler
DayPilot » Knowledge Base » How to bind Navigator to multiple controls

How to bind Navigator to multiple controls

Last revision: Feb 23, 2010

1. Switch to manual (JavaScript) TimeRangeSelected handling:


2. Create a client-side handler that will update all the controls you need

DayPilotNavigator.TimeRangeSelectedJavaScript="dpc.commandCallBack("navigate", {start:start}); dpm.commandCallBack('navigate', {start:start});"

This code will update two controls:

This is the fastest way which will only pass "start" parameter to the commandCallBack.

The TimeRangeSelectedHandling="Bind" option is calling something like this:

dpc.commandCallBack(dpn.command, {start:start, end: end, days: dpn.days});

Where "dpn" is the value of DayPilotNavigator.ClientObjectName property.


How to update a GridView after an AJAX callback update of the main calendar control
How to use DayPilot controls with custom database structure (schema)
How to implement Copy & Paste in the Calendar
How to open a new event dialog using TimeRangeSelected event (modal.js)