Example #1
0
        protected void ProgramEdit1_ControlCancelled(object sender)
        {
            btnAddNewProgram.Visible = true;
            pnlEditProgram.Visible   = false;
            pnlProgramLists.Visible  = true;

            ProgramEdit1.Clear();
        }
Example #2
0
        void btnAddNewProgram_Click(object sender, EventArgs e)
        {
            btnAddNewProgram.Visible = false;
            pnlEditProgram.Visible   = true;
            pnlProgramLists.Visible  = false;

            ProgramEdit1.Clear();
        }
Example #3
0
        protected void ProgramEdit1_ControlSaved(object sender, ControlSavedEventArgs e)
        {
            lblFeedback.Text         = "Item saved: " + DateTime.Now.ToString("MM/dd/yyyy hh:mm:ss");
            btnAddNewProgram.Visible = true;
            pnlEditProgram.Visible   = false;
            pnlProgramLists.Visible  = true;

            ProgramEdit1.Clear();

            BindBothLists();
        }