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 ); } }
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 ); } }