Пример #1
0
        protected void ModalEventDetailsComplete_Click(object sender, EventArgs e)
        {
            contSchedule = new ScheduleController();
            string eventId       = ModalEventDetailsId?.Value.ToString();
            string eventType     = ModalEventDetailsType?.Value.ToString();
            string dateActioned  = ModalEventDetailsActionDate?.Text;
            string timeActioned  = ModalEventDetailsActionTime?.Text;
            string completedById = ModalEventDetailsCompletedBy?.SelectedValue.ToString();
            string workNotes     = ModalEventDetailsNotes?.Text;

            contSchedule.CompleteEvent(Session["mas"].ToString(), Session["comp"].ToString(), eventId, eventType, dateActioned, timeActioned, completedById, workNotes);

            Response.Redirect(Request.RawUrl);
        }