Exemplo n.º 1
0
        private void Product_Control_Init(bool IsPagePostBack = false)
        {
            if (!DataEval.IsEmptyQuery(_product_variantid))
            {
                if (!IsPagePostBack)
                {
                    PlaceHolder_Product_Spec.Controls.Clear();
                }

                ProductVariantMgr myProductVariantMgr = new ProductVariantMgr();
                myProductVariantMgr.Product_Form_Generator(
                    PlaceHolder_Product_Spec,
                    droplist_Product_VariantID.SelectedValue,
                    Product_FormMode.Create,
                    IsPagePostBack
                    );
            }
        }
Exemplo n.º 2
0
        private void Product_Control_Init(bool IsPagePostBack = false)
        {
            if (!DataEval.IsEmptyQuery(_product_variantid))
            {
                if (!IsPagePostBack)
                {
                    PlaceHolder_Product_Spec.Controls.Clear();
                }

                ProductVariantMgr myProductVariantMgr = new ProductVariantMgr();
                myProductVariantMgr.Product_Form_Generator(
                    PlaceHolder_Product_Spec,
                    _product_variantid,
                    Product_FormMode.Edit,
                    IsPagePostBack,
                    _productid
                    );
            }
        }