The default "Bind" event handling updates the target control (BoundDayPilotID) automatically.
See also:
http://doc.daypilot.org/navigator/navigation/
If you switch to "PostBack" it fires the TimeRangeSelected event handler instead.
Solution #1:
Add an event handler for TimeRangeSelected event. You will need to place the calendar in an UpdatePanel as well.
protected void DayPilotNavigator1_TimeRangeSelected(object sender, TimeRangeSelectedEventArgs e)
{
DayPilotCalendar1.StartDate = e.Start;
DayPilotCalendar1.DataBind();
DayPilotCalendar1.Update();
// update the update panel here
}
Solution #2:
Use TimeRangeSelectedHandling="JavaScript" and invoke both actions manually:
TimeRangeSelectedHandling="JavaScript"
TimeRangeSelectedJavaScript="dpc.commandCallBack('refresh', { 'start': start }); dpn.timeRangeSelectedPostBack(start, end)"
Where "dpn" is DayPilotNavigator.ClientObjectName and "dpc" is DayPilotCalendar.ClientObjectName.