Exemplo n.º 1
0
        protected override void ClearForm()
        {
            CurrentAspNetId = null;
            DisplayProfileTabs(false);

            chkIsLockedOut.Checked = false;
            chkIsLockedOut.Enabled = true;

            cbCanyonRanchCustomer.Checked = false;

            txtEmail.Text       = string.Empty;
            txtProfileName.Text = string.Empty;
            txtFirstName.Text   = string.Empty;
            txtLastName.Text    = string.Empty;
            ddlCoupons.ClearSelection();
            //ddlDeliveryTypes.ClearSelection();

            BillingInfoEdit1.Clear();

            AddressEdit_Shipping1.Clear();
            AddressEdit_Shipping1.EnableFields = false;

            ////preferences
            ProfilePrefsEdit1.Clear();

            ////allergens
            ProfileAllgsEdit1.Clear();

            //subprofiles
            SubProfileEdit1.Clear();
            gvwSubProfiles.DataSource = null;
            gvwSubProfiles.DataBind();
        }
        protected override void ClearForm()
        {
            BillingInfoEdit1.Clear();

            AddressEdit_Shipping1.Clear();
            AddressEdit_Shipping1.EnableFields = false;

            //subprofiles
            SubProfileEdit1.Clear();
            gvwSubProfiles.DataSource = null;
            gvwSubProfiles.DataBind();
        }