protected void Calendar_EventMenuClick(object sender, DayPilot.Web.Ui.Events.EventMenuClickEventArgs e) { if (e.Command == "fb") { Response.Redirect("~/ihmActeur/controleur/RemplirFB.aspx?numerosFB=" + e.Value); } }
protected void Calendar_EventMenuClick(object sender, DayPilot.Web.Ui.Events.EventMenuClickEventArgs e) { if (e.Command == "fb") { Response.Redirect("RemplirFB.aspx?numerosFB=" + e.Value); } else if (e.Command == "ad") { Response.Redirect("AutorisationDepart.aspx?numerosFB=" + e.Value); } }
protected void DayPilotScheduler1_EventMenuClick(object sender, DayPilot.Web.Ui.Events.EventMenuClickEventArgs e) { switch (e.Command) { case "Delete": #region Simulation of database update DataRow dr = table.Rows.Find(e.Id); if (dr != null) { table.Rows.Remove(dr); table.AcceptChanges(); } #endregion break; } setDataSourceAndBind(); DayPilotScheduler1.Update(); }