protected void DayPilotScheduler1_Refresh(object sender, DayPilot.Web.Ui.Events.RefreshEventArgs e) { LoadResources(); DayPilotScheduler1.DataSource = DbGetEvents(DayPilotScheduler1.StartDate, DayPilotScheduler1.Days); //DbSelectEvents(DayPilotScheduler1.StartDate, DayPilotScheduler1.EndDate.AddDays(1)); DayPilotScheduler1.DataBind(); UpdatePanelScheduler.Update(); //DayPilotScheduler1.Update(CallBackUpdateType.Full); }
protected void DayPilotScheduler1_Refresh(object sender, DayPilot.Web.Ui.Events.RefreshEventArgs e) { DayPilotScheduler1.StartDate = e.StartDate; setDataSourceAndBind(); DayPilotScheduler1.Update(CallBackUpdateType.Full); }