Exemple #1
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     this.btnSearch.Click            += new System.EventHandler(this.btnSearch_Click);
     this.grdProducts.ReBindData     += new Grid.ReBindDataEventHandler(this.grdProducts_ReBindData);
     this.btnUpShelf.Click           += new System.EventHandler(this.btnUpShelf_Click);
     this.btnOK.Click                += new System.EventHandler(this.btnOK_Click);
     this.btnDelete.Click            += new System.EventHandler(this.btnDelete_Click);
     this.btnUpdateProductTags.Click += new System.EventHandler(this.btnUpdateProductTags_Click);
     this.grdProducts.RowDeleting    += new System.Web.UI.WebControls.GridViewDeleteEventHandler(this.grdProducts_RowDeleting);
     this.btnCheck.Click             += new System.EventHandler(this.btnCheck_Click);
     this.btnCheckError.Click        += new System.EventHandler(this.btnCheckError_Click);
     if (!this.Page.IsPostBack)
     {
         if (!string.IsNullOrEmpty(this.Page.Request.QueryString["SortOrder"]))
         {
             this.grdProducts.SortOrder = this.Page.Request.QueryString["SortOrder"];
         }
         if (!string.IsNullOrEmpty(this.Page.Request.QueryString["SortOrderBy"]))
         {
             this.grdProducts.SortOrderBy = this.Page.Request.QueryString["SortOrderBy"];
         }
         this.dropBrandList.DataBind();
         this.dropTagList.DataBind();
         this.BindProducts();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #2
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     this.LocalUrl                             = base.Server.UrlEncode(base.Request.Url.ToString());
     this.btnSearch.Click                     += new System.EventHandler(this.btnSearch_Click);
     this.btnDelete.Click                     += new System.EventHandler(this.btnDelete_Click);
     this.btnRemove.Click                     += new System.EventHandler(this.btnRemove_Click);
     this.btnUpSale.Click                     += new System.EventHandler(this.btnUpSale_Click);
     this.btnUnSale.Click                     += new System.EventHandler(this.btnUnSale_Click);
     this.btnInStock.Click                    += new System.EventHandler(this.btnInStock_Click);
     this.btnCancelFreeShip.Click             += new System.EventHandler(this.btnSetFreeShip_Click);
     this.btnSetFreeShip.Click                += new System.EventHandler(this.btnSetFreeShip_Click);
     this.btnUpdateProductTags.Click          += new System.EventHandler(this.btnUpdateProductTags_Click);
     this.grdProducts.RowDataBound            += new System.Web.UI.WebControls.GridViewRowEventHandler(this.grdProducts_RowDataBound);
     this.grdProducts.RowDeleting             += new System.Web.UI.WebControls.GridViewDeleteEventHandler(this.grdProducts_RowDeleting);
     this.dropSaleStatus.SelectedIndexChanged += new System.EventHandler(this.dropSaleStatus_SelectedIndexChanged);
     if (!this.Page.IsPostBack)
     {
         this.dropCategories.IsUnclassified = true;
         this.dropCategories.DataBind();
         this.dropBrandList.DataBind();
         this.dropTagList.DataBind();
         this.dropType.DataBind();
         this.litralProductTag.DataBind();
         this.dropSaleStatus.DataBind();
         this.btnDownTaobao.NavigateUrl = string.Format("http://order1.kuaidiangtong.com/TaoBaoApi.aspx?Host={0}&ApplicationPath={1}", SettingsManager.GetMasterSettings(true).SiteUrl, Globals.ApplicationPath);
         this.BindProducts();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #3
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
            ManagerInfo currentManager = ManagerHelper.GetCurrentManager();

            this.StoreId = currentManager.ClientUserId.ToInt();
            //门店的下拉框
            DataTable dtDeliveryMember = StoreHelper.GetDeliveryMemberList("storeid = " + StoreId);

            DDLDeliveryMember.Items.Add("全部");
            foreach (DataRow row in dtDeliveryMember.Rows)
            {
                ListItem item = new ListItem();
                item.Text  = row["UserName"].ToString();
                item.Value = row["deliveryUserId"].ToString();
                DDLDeliveryMember.Items.Add(item);
            }


            if (!this.Page.IsPostBack)
            {
                this.BindProducts();
            }
            CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
        }
Exemple #4
0
 protected void Page_Load(object sender, EventArgs e)
 {
     this.LoadParameters();
     if (!base.IsPostBack)
     {
         this.BindClientList();
         this.rankList.DataBind();
         this.rankList.SelectedValue = this.rankId;
         SiteSettings siteSetting = this.GetSiteSetting();
         if (siteSetting.SMSEnabled)
         {
             this.litsmscount.Text  = this.GetAmount(siteSetting).ToString();
             this.hdenablemsg.Value = "1";
         }
         if (siteSetting.EmailEnabled)
         {
             this.hdenableemail.Value = "1";
         }
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
     this.btnSearchButton.Click     += new EventHandler(this.btnSearchButton_Click);
     this.btnSendMessage.Click      += new EventHandler(this.btnSendMessage_Click);
     this.btnSendEmail.Click        += new EventHandler(this.btnSendEmail_Click);
     this.btnsitecontent.Click      += new EventHandler(this.btnsitecontent_Click);
     this.lkbDelectCheck.Click      += new EventHandler(this.lkbDelectCheck_Click);
     this.lkbDelectCheck1.Click     += new EventHandler(this.lkbDelectCheck_Click);
     this.grdMemberList.RowDeleting += new GridViewDeleteEventHandler(this.grdMemberList_RowDeleting);
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     LoadParameters();
     btnSearch.Click         += new EventHandler(btnSearch_Click);
     grdProducts.ReBindData  += new Grid.ReBindDataEventHandler(grdProducts_ReBindData);
     btnUpShelf.Click        += new EventHandler(btnUpShelf_Click);
     btnInStock.Click        += new EventHandler(btnInStock_Click);
     btnDelete.Click         += new EventHandler(btnDelete_Click);
     btnAddOK.Click          += new EventHandler(btnAddOK_Click);
     btnReplaceOK.Click      += new EventHandler(btnReplaceOK_Click);
     grdProducts.RowDeleting += new GridViewDeleteEventHandler(grdProducts_RowDeleting);
     if (!Page.IsPostBack)
     {
         if (!string.IsNullOrEmpty(Page.Request.QueryString["SortOrder"]))
         {
             grdProducts.SortOrder = Page.Request.QueryString["SortOrder"];
         }
         if (!string.IsNullOrEmpty(Page.Request.QueryString["SortOrderBy"]))
         {
             grdProducts.SortOrderBy = Page.Request.QueryString["SortOrderBy"];
         }
         BindProducts();
     }
     CheckBoxColumn.RegisterClientCheckEvents(Page, Page.Form.ClientID);
 }
Exemple #6
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            this._dataPath            = this.Page.Request.MapPath("~/storage/data/poImport/" + DateTime.Now.ToString("yyyyMM"));
            this._PdfPath             = "/storage/data/poToPdf/" + DateTime.Now.ToString("yyyyMM") + "/";
            this.btnSearch.Click     += new System.EventHandler(this.btnSearch_Click);
            this.btnExportData.Click += new System.EventHandler(this.btnExportData_Click);
            this.btnExportPdf.Click  += new System.EventHandler(this.btnExportPdf_Click);
            this.btnExportItem.Click += new System.EventHandler(this.btnExportItem_Click);
            this.btnImportItem.Click += new System.EventHandler(this.btnImportItem_Click);


            var member = HiContext.Current.User;

            if (member != null && !member.IsLockedOut)
            {
                hidUserid.Value   = member.UserId.ToString();
                hidUserName.Value = member.Username;
            }
            else
            {
                this.ShowMsg("获取用户信息失败,请重新登录", false);
                return;
            }
            if (!this.Page.IsPostBack)
            {
                this.ddlSupplier.DataBind();
                this.BindProducts("CreateTime", SortAction.Desc);
            }
            CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
        }
Exemple #7
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
            int tempid = 0;

            if (!int.TryParse(this.Page.Request.QueryString["Id"], out tempid))
            {
                base.GotoResourceNotFound();
                return;
            }
            int tempSupplierId = 0;

            int.TryParse(this.Page.Request.QueryString["SupplierId"], out tempSupplierId);

            this.POId       = tempid;
            this.SupplierId = tempSupplierId;

            hidPOId.Value       = POId.ToString();
            hidSupplierId.Value = SupplierId.ToString();

            if (!this.Page.IsPostBack)
            {
                this.BindProducts("CreateTime", SortAction.Desc);
            }
            CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
        }
Exemple #8
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     this.btnSearch.Click                            += new System.EventHandler(this.btnSearch_Click);
     this.btnDelete.Click                            += new System.EventHandler(this.btnDelete_Click);
     this.btnUpSale.Click                            += new System.EventHandler(this.btnUpSale_Click);
     this.btnUnSale.Click                            += new System.EventHandler(this.btnUnSale_Click);
     this.btnInStock.Click                           += new System.EventHandler(this.btnInStock_Click);
     this.btnCancle.Click                            += new System.EventHandler(this.btnCancle_Click);
     this.btnPenetration.Click                       += new System.EventHandler(this.btnPenetration_Click);
     this.btnUpdateProductTags.Click                 += new System.EventHandler(this.btnUpdateProductTags_Click);
     this.btnUpdateLine.Click                        += new System.EventHandler(this.btnUpdateLine_Click);
     this.grdProducts.RowDataBound                   += new System.Web.UI.WebControls.GridViewRowEventHandler(this.grdProducts_RowDataBound);
     this.grdProducts.RowDeleting                    += new System.Web.UI.WebControls.GridViewDeleteEventHandler(this.grdProducts_RowDeleting);
     this.dropSaleStatus.SelectedIndexChanged        += new System.EventHandler(this.dropSaleStatus_SelectedIndexChanged);
     this.dropPenetrationStatus.SelectedIndexChanged += new System.EventHandler(this.dropPenetrationStatus_SelectedIndexChanged);
     if (!this.Page.IsPostBack)
     {
         this.dropCategories.DataBind();
         this.dropLines.DataBind();
         this.dropBrandList.DataBind();
         this.dropTagList.DataBind();
         this.dropType.DataBind();
         this.dropDistributor.DataBind();
         this.dropPenetrationStatus.DataBind();
         this.dropSaleStatus.DataBind();
         this.dropProductLines.DataBind();
         this.btnDownTaobao.NavigateUrl = string.Format("http://order1.kuaidiangtong.com/TaoBaoApi.aspx?Host={0}&ApplicationPath={1}", Hidistro.Membership.Context.HiContext.Current.SiteSettings.SiteUrl, Globals.ApplicationPath);
         this.BindProducts();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!(string.IsNullOrEmpty(this.Page.Request.QueryString["UserId"]) || int.TryParse(this.Page.Request.QueryString["UserId"], out this.userId)))
     {
         base.GotoResourceNotFound();
     }
     else
     {
         this.btnSendToRank.Click += new EventHandler(this.btnSendToRank_Click);
         if (!this.Page.IsPostBack)
         {
             this.rankList.DataBind();
             if (this.userId > 0)
             {
                 Member user = Users.GetUser(this.userId) as Member;
                 if (user == null)
                 {
                     base.GotoResourceNotFound();
                     return;
                 }
                 this.txtMemberNames.Text = user.Username;
             }
         }
         CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
     }
 }
 protected void Page_Load(object sender, System.EventArgs e)
 {
     this.LoadParameters();
     this.btnSearch.Click                     += new System.EventHandler(this.btnSearch_Click);
     this.grdProducts.ReBindData              += new Grid.ReBindDataEventHandler(this.grdProducts_ReBindData);
     this.grdProducts.RowDataBound            += new System.Web.UI.WebControls.GridViewRowEventHandler(this.grdProducts_RowDataBound);
     this.btnUpShelf.Click                    += new System.EventHandler(this.btnUpShelf_Click);
     this.btnOffShelf.Click                   += new System.EventHandler(this.btnOffShelf_Click);
     this.btnInStock.Click                    += new System.EventHandler(this.btnInStock_Click);
     this.btnDelete.Click                     += new System.EventHandler(this.btnDelete_Click);
     this.btnAddOK.Click                      += new System.EventHandler(this.btnAddOK_Click);
     this.btnReplaceOK.Click                  += new System.EventHandler(this.btnReplaceOK_Click);
     this.btnUpdateProductTags.Click          += new System.EventHandler(this.btnUpdateProductTags_Click);
     this.grdProducts.RowDeleting             += new System.Web.UI.WebControls.GridViewDeleteEventHandler(this.grdProducts_RowDeleting);
     this.dropSaleStatus.SelectedIndexChanged += new System.EventHandler(this.dropSaleStatus_SelectedIndexChanged);
     if (!this.Page.IsPostBack)
     {
         if (!string.IsNullOrEmpty(this.Page.Request.QueryString["SortOrder"]))
         {
             this.grdProducts.SortOrder = this.Page.Request.QueryString["SortOrder"];
         }
         if (!string.IsNullOrEmpty(this.Page.Request.QueryString["SortOrderBy"]))
         {
             this.grdProducts.SortOrderBy = this.Page.Request.QueryString["SortOrderBy"];
         }
         this.dropSaleStatus.DataBind();
         this.BindProducts();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #11
0
 protected void Page_Load(object sender, EventArgs e)
 {
     this.LocalUrl                    = base.Server.UrlEncode(base.Request.Url.ToString());
     this.btnSearch.Click            += new EventHandler(this.btnSearch_Click);
     this.BtnTemplate.Click          += new EventHandler(this.BtnTemplate_Click);
     this.btnDelete.Click            += new EventHandler(this.btnDelete_Click);
     this.btnUpSale.Click            += new EventHandler(this.btnUpSale_Click);
     this.btnUnSale.Click            += new EventHandler(this.btnUnSale_Click);
     this.btnInStock.Click           += new EventHandler(this.btnInStock_Click);
     this.btnCancelFreeShip.Click    += new EventHandler(this.btnSetFreeShip_Click);
     this.btnSetFreeShip.Click       += new EventHandler(this.btnSetFreeShip_Click);
     this.btnUpdateProductTags.Click += new EventHandler(this.btnUpdateProductTags_Click);
     this.grdProducts.ItemCommand    += new RepeaterCommandEventHandler(this.grdProducts_ItemCommand);
     if (!this.Page.IsPostBack)
     {
         this.dropCategories.IsUnclassified = true;
         this.dropCategories.DataBind();
         this.dropBrandList.DataBind();
         this.FreightTemplateDownList1.DataBind();
         this.litralProductTag.DataBind();
         this.btnDownTaobao.NavigateUrl = string.Format("http://order1.kuaidiangtong.com/TaoBaoApi.aspx?Host={0}&ApplicationPath={1}", base.Request.Url.Host, Globals.ApplicationPath);
         this.BindProducts();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #12
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            this.btnSearch.Click       += new System.EventHandler(this.btnSearch_Click);
            this.btnSave.Click         += new System.EventHandler(this.btnSave_Click);
            this.btnRegistration.Click += new System.EventHandler(this.btnRegistration_Click);
            this.btnAddBatch.Click     += new System.EventHandler(this.btnAddBatch_Click);
            this.btnExportData.Click   += new System.EventHandler(this.btnExportData_Click);

            this.grdProductClassify.RowDataBound += new System.Web.UI.WebControls.GridViewRowEventHandler(this.grdProductClassify_RowDataBound);
            if (!this.Page.IsPostBack)
            {
                this.IsApprovedPrice = 1;
                this.ddlUnit.DataBind();
                if (string.IsNullOrWhiteSpace(this.sortBy))
                {
                    this.BindProducts("AddedDate", SortAction.Desc);
                }
                else
                {
                    this.grdProductClassify.SortOrder   = this.sortOrder;
                    this.grdProductClassify.SortOrderBy = this.sortBy;
                    this.hidSortOrder.Value             = this.sortOrder;
                    this.hidSortBy.Value = this.sortBy;
                    this.BindProducts(this.sortBy, this.sortOrder.ToLower() == "asc" ? SortAction.Asc : SortAction.Desc);
                }
            }
            CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     this.grdUnderlings.RowDeleting        += new GridViewDeleteEventHandler(this.grdUnderlings_RowDeleting);
     this.lkbDelectCheck.Click             += new EventHandler(this.lkbDelectCheck_Click);
     this.lkbDelectCheck1.Click            += new EventHandler(this.lkbDelectCheck_Click);
     this.btnSearch.Click                  += new EventHandler(this.btnSearch_Click);
     this.btnExport.Click                  += new EventHandler(this.btnExport_Click);
     this.btnsitecontent.Click             += new EventHandler(this.btnsitecontent_Click);
     this.ddlApproved.AutoPostBack          = true;
     this.ddlApproved.SelectedIndexChanged += new EventHandler(this.ddlApproved_SelectedIndexChanged);
     this.btnSendMessage.Click             += new EventHandler(this.btnSendMessage_Click);
     this.btnSendEmail.Click               += new EventHandler(this.btnSendEmail_Click);
     if (!this.Page.IsPostBack)
     {
         this.dropMemberGrade.DataBind();
         this.ddlApproved.DataBind();
         this.BindData();
         SiteSettings siteSetting = this.GetSiteSetting();
         if (siteSetting.SMSEnabled)
         {
             this.litsmscount.Text  = this.GetAmount(siteSetting).ToString();
             this.hdenablemsg.Value = "1";
         }
         if (siteSetting.EmailEnabled)
         {
             this.hdenableemail.Value = "1";
         }
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #14
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            this.LoadParameters();
            if (!this.Page.IsPostBack)
            {
                this.rankList.DataBind();
                this.rankList.SelectedValue = this.rankId;

                this.userTypeDropDownList.DataBind();
                this.userTypeDropDownList.SelectedValue = this.userType;

                this.ddlApproved.DataBind();
                if (this.approved.HasValue)
                {
                    this.ddlApproved.SelectedValue = this.approved;
                }
                this.BindData();
                SiteSettings siteSetting = this.GetSiteSetting();
                //if (siteSetting.SMSEnabled)
                //{
                //    this.litsmscount.Text = this.GetAmount(siteSetting).ToString();
                //    this.hdenablemsg.Value = "1";
                //}
                if (siteSetting.EmailEnabled)
                {
                    this.hdenableemail.Value = "1";
                }
            }
            CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
        }
Exemple #15
0
        protected void Page_Load(object sender, System.EventArgs e)
        {
            this.btnSearch.Click    += new System.EventHandler(this.btnSearch_Click);
            this.btnDelete.Click    += new System.EventHandler(this.btnDelete_Click);
            this.btnApprove.Click   += new System.EventHandler(this.btnApprove_Click);   //审核操作
            this.btnUnApprove.Click += new System.EventHandler(this.btnUnApprove_Click); //
            this.btnExcelSupplierProDetatil.Click += new System.EventHandler(this.btnExcelSupplierProDetatil_Click);

            this.btnGenerationQCode.Click += new System.EventHandler(this.btnGenerationQCode_Click);

            this.btnUpSale.Click               += new System.EventHandler(this.btnUpSale_Click);
            this.btnUnSale.Click               += new System.EventHandler(this.btnUnSale_Click);
            this.btnInStock.Click              += new System.EventHandler(this.btnInStock_Click);
            this.btnCancelFreeShip.Click       += new System.EventHandler(this.btnSetFreeShip_Click);
            this.btnSetFreeShip.Click          += new System.EventHandler(this.btnSetFreeShip_Click);
            this.btnUpdateProductTags.Click    += new System.EventHandler(this.btnUpdateProductTags_Click);
            this.btnUpdateProductDeducts.Click += new System.EventHandler(this.btnUpdateProductDeducts_Click);
            this.grdProducts.RowDataBound      += new System.Web.UI.WebControls.GridViewRowEventHandler(this.grdProducts_RowDataBound);
            this.grdProducts.RowDeleting       += new System.Web.UI.WebControls.GridViewDeleteEventHandler(this.grdProducts_RowDeleting);
            grdProducts.Sorting += grdProducts_Sorting;
            this.dropSaleStatus.SelectedIndexChanged += new System.EventHandler(this.dropSaleStatus_SelectedIndexChanged);
            if (!this.Page.IsPostBack)
            {
                this.dropCategories.DataBind();
                this.dropBrandList.DataBind();
                this.dropTagList.DataBind();
                this.dropType.DataBind();
                this.dropSaleStatus.DataBind();
                this.ddlImportSourceType.DataBind();
                this.ddlSupplier.DataBind();
                this.ddlShipping.DataBind();

                if (!string.IsNullOrEmpty(this.Page.Request.QueryString["sortBy"]))
                {
                    this.sortBy = this.Page.Request.QueryString["sortBy"];
                }
                if (!string.IsNullOrEmpty(this.Page.Request.QueryString["sortOrder"]))
                {
                    this.sortOrder = this.Page.Request.QueryString["sortOrder"];
                }
                if (string.IsNullOrWhiteSpace(this.sortBy))
                {
                    this.BindProducts("DisplaySequence", SortAction.Desc);
                }
                else
                {
                    this.grdProducts.SortOrder   = this.sortOrder;
                    this.grdProducts.SortOrderBy = this.sortBy;
                    this.hidSortOrder.Value      = this.sortOrder;
                    this.hidSortBy.Value         = this.sortBy;
                    this.BindProducts(this.sortBy, this.sortOrder.ToLower() == "asc" ? SortAction.Asc : SortAction.Desc);
                }
                SiteSettings siteSettings = HiContext.Current.SiteSettings;
                this.litReferralDeduct.Text    = "(全站统一比例:" + siteSettings.ReferralDeduct.ToString("F2") + " %)";
                this.litSubMemberDeduct.Text   = "(全站统一比例:" + siteSettings.SubMemberDeduct.ToString("F2") + " %)";
                this.litSubReferralDeduct.Text = "(全站统一比例:" + siteSettings.SubReferralDeduct.ToString("F2") + " %)";
            }
            CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
        }
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         BindSuppliers();
     }
     CheckBoxColumn.RegisterClientCheckEvents(Page, Page.Form.ClientID);
 }
Exemple #17
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     if (!this.Page.IsPostBack)
     {
         this.BindSuppliers();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #18
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!base.IsPostBack)
     {
         this.BindTopics();
     }
     this.btnAdd.Click += new EventHandler(this.btnAdd_Click);
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #19
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     if (!base.IsPostBack)
     {
         this.DoCallback();
     }
     this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #20
0
 protected void Page_Load(object sender, EventArgs e)
 {
     this.LoadParameters();
     if (!this.Page.IsPostBack)
     {
         this.BindData();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #21
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
     if (!this.Page.IsPostBack)
     {
         this.BindProducts();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
 protected void Page_Load(object sender, System.EventArgs e)
 {
     this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
     this.rp_bindproduct.ItemDataBound += new System.Web.UI.WebControls.RepeaterItemEventHandler(this.rp_bindproduct_ItemDataBound);
     if (!base.IsPostBack)
     {
         this.DoCallback();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #23
0
 protected void Page_Load(object sender, EventArgs e)
 {
     this.btnDeleteSelect.Click  += new EventHandler(this.btnDeleteSelect_Click);
     this.btnDeleteSelect1.Click += new EventHandler(this.btnDeleteSelect_Click);
     if (!this.Page.IsPostBack)
     {
         this.BindData();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
Exemple #24
0
        protected void Page_Load(object sender, EventArgs e)
        {
            LoadParameters();

            if (!base.IsPostBack)
            {
                BindCountDown();
            }
            CheckBoxColumn.RegisterClientCheckEvents(Page, Page.Form.ClientID);
        }
Exemple #25
0
 protected void Page_Load(object sender, EventArgs e)
 {
     LoadParameters();
     if (!Page.IsPostBack)
     {
         BindData();
         DeleteGriftById();
     }
     CheckBoxColumn.RegisterClientCheckEvents(Page, Page.Form.ClientID);
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     this.LoadParameters();
     if (!base.IsPostBack)
     {
         this.BindBundlingProducts();
     }
     this.grdBundlingList.RowDeleting += new GridViewDeleteEventHandler(this.grdBundlingList_RowDeleting);
     this.lkbtnDeleteCheck.Click      += new EventHandler(this.lkbtnDeleteCheck_Click);
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     messagesList.RowDeleting += new GridViewDeleteEventHandler(messagesList_RowDeleting);
     btnDeleteSelect.Click    += new EventHandler(btnDeleteSelect_Click);
     btnDeleteSelect1.Click   += new EventHandler(btnDeleteSelect_Click);
     if (!Page.IsPostBack)
     {
         BindData();
     }
     CheckBoxColumn.RegisterClientCheckEvents(Page, Page.Form.ClientID);
 }
Exemple #28
0
        protected void Page_Load(object sender, EventArgs e)
        {
            wid = GetCurWebId();
            if (string.IsNullOrEmpty(wid))
            {
                return;
            }
            this.LoadParameters();
            if (!base.IsPostBack)
            {
                this.BindClientList();
                this.rankList.DataBind();
                this.rankList.SelectedValue = this.rankId;
                SiteSettings siteSetting = this.GetSiteSetting();
                if (siteSetting.SMSEnabled)
                {
                    this.litsmscount.Text  = this.GetAmount(siteSetting).ToString();
                    this.hdenablemsg.Value = "1";
                }
                if (siteSetting.EmailEnabled)
                {
                    this.hdenableemail.Value = "1";
                }
                if (!string.IsNullOrEmpty(base.Request.QueryString["type"]))
                {
                    string str = base.Request.QueryString["type"];
                    if (str == null)
                    {
                        goto Label_00F9;
                    }
                    if (!(str == "sleep"))
                    {
                        if (str == "activy")
                        {
                            this.litType.Text = "活跃客户";
                            goto Label_0109;
                        }
                        goto Label_00F9;
                    }
                    this.litType.Text = "休眠客户";
                }
            }
            goto Label_0109;
Label_00F9:
            this.litType.Text = "新客户";
Label_0109:
            CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
            this.btnSearchButton.Click     += new EventHandler(this.btnSearchButton_Click);
            this.btnSendMessage.Click      += new EventHandler(this.btnSendMessage_Click);
            this.btnSendEmail.Click        += new EventHandler(this.btnSendEmail_Click);
            this.lkbDelectCheck.Click      += new EventHandler(this.lkbDelectCheck_Click);
            this.lkbDelectCheck1.Click     += new EventHandler(this.lkbDelectCheck_Click);
            this.grdMemberList.RowDeleting += new GridViewDeleteEventHandler(this.grdMemberList_RowDeleting);
        }
Exemple #29
0
 protected void Page_Load(object sender, System.EventArgs e)
 {
     if (!this.Page.IsPostBack)
     {
         this.dropBrandList.DataBind();
         this.dropMoveToCategories.DataBind();
         this.BindProducts();
         this.dropAddToAllCategories.DataBind();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }
 protected void Page_Load(object sender, EventArgs e)
 {
     this.grdAfficheList.RowDeleting += new GridViewDeleteEventHandler(this.grdAfficheList_RowDeleting);
     this.lkbtnDeleteSelect.Click    += new EventHandler(this.lkbtnDeleteSelect_Click);
     this.ImageLinkButton1.Click     += new EventHandler(this.ImageLinkButton1_Click);
     if (!this.Page.IsPostBack)
     {
         this.BindAffiche();
     }
     CheckBoxColumn.RegisterClientCheckEvents(this.Page, this.Page.Form.ClientID);
 }