protected void btnDelete_Click(object sender, EventArgs e)
    {
        if (Session["TherapistId"] == null)
        {
            UserAlert.Text      = "Select a Therapist";
            UserAlert.ForeColor = System.Drawing.Color.Red;
            return;
        }
        else if ((Session["TherapistId"] != null) && (Session["DeleteTherapist"] == null))
        {
            UserAlert.Text             = "Click Delete again to confirm.";
            UserAlert.ForeColor        = System.Drawing.Color.Red;
            Session["DeleteTherapist"] = "1";
        }
        else
        {
            TherapistTableManager therapistTableManager = new TherapistTableManager();

            if (therapistTableManager.DeleteTherapist(new MassageTherapists(Session["TherapistId"].ToString())))
            {
                TherapistList1.Refresh();
                Session["DeleteTherapist"] = null;
                UserAlert.Text             = "";
            }
            else
            {
                UserAlert.Text = "This therapist is assocated with previous appointments.";
            }
        }
    }
    private void AddEditTherapists1_TherapistUpdated(object sender, EventArgs e)
    {
        MainMenuButtonsAppear();

        AddEditTherapists1.Visible = false;
        TherapistList1.Visible     = true;

        TherapistList1.Refresh();
    }