AJH.CMS.WEB.UI.Admin.ManageProducts_UC.OnInit C# (CSharp) Method

OnInit() protected method

protected OnInit ( EventArgs e ) : void
e System.EventArgs
return void
        protected override void OnInit(EventArgs e)
        {
            this.Load += new EventHandler(ManageProducts_UC_Load);

            #region Product event

            this.btnSaveProduct.Click += new EventHandler(btnSaveProduct_Click);
            this.ucPortalLanguage.OnSelectLanguage += new EventHandler(ucPortalLanguage_OnSelectLanguage);
            this.btnSaveOtherLanguageProduct.Click += new EventHandler(btnSaveOtherLanguageProduct_Click);
            this.btnUpdateProduct.Click += new EventHandler(btnUpdateProduct_Click);
            this.btnSaveAndStay.Click += new EventHandler(btnSaveAndStay_Click);

            #endregion

            #region Product Catalog Events

            this.btnSaveProductCatalog.Click += new EventHandler(btnSaveProductCatalog_Click);

            #endregion

            #region Product Feature Events

            this.btnSaveProductFeature.Click += new EventHandler(btnSaveProductFeature_Click);
            this.ibtnDeleteProductFeature.Click += new ImageClickEventHandler(ibtnDeleteProductFeature_Click);

            #endregion

            #region Prodcut Image Events

            this.ibtnAddProductImage.Click += new ImageClickEventHandler(ibtnAddProductImage_Click);
            this.ibtnDeleteProductImage.Click += new ImageClickEventHandler(ibtnDeleteProductImage_Click);
            this.btnSaveProdcutImage.Click += new EventHandler(btnSaveProdcutImage_Click);
            this.btnExitProdcutImage.Click += new EventHandler(btnExitProdcutImage_Click);
            this.dlsProductImage.ItemCommand += new DataListCommandEventHandler(dlsProductImage_ItemCommand);
            this.ucProductImageLanguage.OnSelectLanguage += new EventHandler(ucProductImageLanguage_OnSelectLanguage);
            this.btnUpdateProductImage.Click += new EventHandler(btnUpdateProductImage_Click);
            this.btnProdcutImageSaveOtherLanguage.Click += new EventHandler(btnProdcutImageSaveOtherLanguage_Click);

            #endregion

            #region Combination Product Events

            this.ibtnAddCombinationProduct.Click += new ImageClickEventHandler(ibtnAddCombinationProduct_Click);
            this.btnSaveCombinationProduct.Click += new EventHandler(btnSaveCombinationProduct_Click);
            this.ibtnDeleteCombinationProduct.Click += new ImageClickEventHandler(ibtnDeleteCombinationProduct_Click);
            this.gvCombinationProducts.RowCommand += new GridViewCommandEventHandler(gvCombinationProducts_RowCommand);
            this.ucCombinationProductLanguage.OnSelectLanguage += new EventHandler(ucCombinationProductLanguage_OnSelectLanguage);
            this.btnUpdateCombinationProduct.Click += new EventHandler(btnUpdateCombinationProduct_Click);
            this.btnSaveCombinationProductOtherLanguage.Click += new EventHandler(btnSaveCombinationProductOtherLanguage_Click);
            this.ibtnDeleteCombinationImage.Click += new ImageClickEventHandler(ibtnDeleteCombinationImage_Click);
            this.btnSaveCombinationImage.Click += new EventHandler(btnSaveCombinationImage_Click);
            this.ibtnFillGroupAttributes.Click += new ImageClickEventHandler(ibtnFillGroupAttributes_Click);
            this.ibtnDeleteConnectedCombinationAttribute.Click += new ImageClickEventHandler(ibtnDeleteConnectedCombinationAttribute_Click);
            this.btnSaveCombinationAttribute.Click += new EventHandler(btnSaveCombinationAttribute_Click);
            #endregion

            base.OnInit(e);
        }