示例#1
0
    protected void DayPilotScheduler1_EventClick(object sender, DayPilot.Web.Ui.Events.EventClickEventArgs e)
    {
        LoadResources();
        DayPilotScheduler1.DataSource = DbGetEvents(DayPilotScheduler1.StartDate, DayPilotScheduler1.Days);           //DbSelectEvents(DayPilotScheduler1.StartDate, DayPilotScheduler1.EndDate.AddDays(1));
        DayPilotScheduler1.DataBind();

        UpdatePanelScheduler.Update();
    }
示例#2
0
    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);
    }