protected void DayPilotCalendar1_Refresh(object sender, DayPilot.Web.Ui.Events.RefreshEventArgs e) { DayPilotCalendar1.Days = e.Days; if (e.Days == 7) { DayPilotCalendar1.StartDate = DayPilot.Utils.Week.FirstDayOfWeek(e.StartDate); } else { DayPilotCalendar1.StartDate = e.StartDate; } DayPilotCalendar1.DataBind(); DayPilotCalendar1.Update(CallBackUpdateType.Full); }
protected void DayPilotScheduler1_Refresh(object sender, DayPilot.Web.Ui.Events.RefreshEventArgs e) { DayPilotScheduler1.StartDate = e.StartDate; setDataSourceAndBind(); DayPilotScheduler1.Update(CallBackUpdateType.Full); }