コード例 #1
0
        protected void lnkbtnReschedule1_Click(object sender, EventArgs e)
        {
            toGetInfo setinfo = new toGetInfo();

            MultiView1.ActiveViewIndex = 2;

            txtFNameV3.Text = setinfo.getValueFname();
            txtSiteNameV3.Text = setinfo.getValueSiteName();
            txtSiteAddressV3.Text = setinfo.getValueSiteAddress();
            txtCityV3.Text = setinfo.getValueCity();
            txtStateV3.Text = setinfo.getValueState();
            lbltitleEditorReschedule.Text = "<div> <h4 class='users'>Schedule Information</h1></div>";
            //calV3.SelectedDate = calV3;
            txtCalV3.Text = null;
            lnkbtnSaveChanges.Visible = false;
            lnkbtnReschedule.Visible = true;
            txtCalV3.Visible = true;
            lblVisitDateV3.Visible = true;
            chkbxMiechvV3.Checked = setinfo.getMiechv();
            chkbxMiechvV3.Enabled = false;
            calV3.Visible = true;
            txtSiteAddressV3.Enabled = false;
            txtStateV3.Enabled = false;
            txtCityV3.Enabled = false;
            txtPhoneNumberV3.Text = setinfo.getPhone();
            txtZipV3.Text = setinfo.getZip();
            txtZipV3.Enabled = false;
            txtPhoneNumberV3.Enabled = false;
        }
コード例 #2
0
        protected void btnEdit_Click(object sender, EventArgs e)
        {
            toGetInfo setinfo = new toGetInfo();

            MultiView1.ActiveViewIndex = 2;

            txtFNameV3.Text = setinfo.getValueFname();
            txtSiteNameV3.Text = setinfo.getValueSiteName();
            txtSiteAddressV3.Text = setinfo.getValueSiteAddress();
            txtCityV3.Text = setinfo.getValueCity();
            txtStateV3.Text = setinfo.getValueState();
            txtPhoneNumberV3.Text = setinfo.getPhone();
            txtZipV3.Text = setinfo.getZip();
            txtZipV3.Enabled = true;
            txtPhoneNumberV3.Enabled = true;
            txtSiteAddressV3.Enabled = true;
            txtCityV3.Enabled = true;
            txtStateV3.Enabled = true;
            chkbxMiechvV3.Enabled = true;
            chkbxMiechvV3.Checked = setinfo.getMiechv();
            txtCalV3.Visible = false;
            lbltitleEditorReschedule.Text = "Edit Information";
            lblVisitDateV3.Visible = false;
            calV3.Visible = false;
            lnkbtnReschedule.Visible = false;
            lnkbtnSaveChanges.Visible = true;
        }