Exemplo n.º 1
0
 protected void DayPilotCalendar1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
 {
     dbUpdateEvent(e.Value, e.NewStart, e.NewEnd);
     DayPilotCalendar1.DataSource = dbGetEvents(DayPilotCalendar1.StartDate, DayPilotCalendar1.Days);
     DayPilotCalendar1.DataBind();
     DayPilotCalendar1.Update();
 }
Exemplo n.º 2
0
        protected void DayPilotCalendar1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
        {
            Response.Write(e.Data);
            new EventDataManager().moveEvent(int.Parse(e.Id), e.NewStart, e.NewEnd);
            DateTime start = DayPilotCalendar1.StartDate;
            DateTime end   = DayPilotCalendar1.EndDate.AddDays(1);

            DayPilotCalendar1.DataSource = new EventDataManager().getEvents(userid, start, end);
            DayPilotCalendar1.DataBind();
            DayPilotCalendar1.Update();
        }
Exemplo n.º 3
0
        protected void Calendar_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
        {
            #region declaration
            crlFicheBord ficheBord = null;
            #endregion

            #region implementation
            ficheBord = serviceFicheBord.selectFicheBord(e.Value);
            if (ficheBord != null)
            {
                ficheBord.DateHeurPrevue = e.NewStart;

                if (serviceFicheBord.updateFicheBord(ficheBord))
                {
                    this.initialiseCalendar();
                }
            }
            #endregion
        }
Exemplo n.º 4
0
 protected void DayPilotMonth1_EventMove(object sender, DayPilot.Web.Ui.Events.EventMoveEventArgs e)
 {
 }