예제 #1
0
 protected override void AttachChildControls()
 {
     this.coupons             = (Common_Coupon_CouponList)this.FindControl("Common_Coupons_CouponsList");
     this.txtCoupon           = (TextBox)this.FindControl("txtCoupon");
     this.status              = (SmallStatusMessage)this.FindControl("status");
     this.btnAddCoupon        = ButtonManager.Create(this.FindControl("btnAddCoupon"));
     this.btnAddCoupon.Click += new EventHandler(this.btnAddCoupon_Click);
     new HyperLink();
     if (!this.Page.IsPostBack)
     {
         this.BindCoupons();
     }
 }
예제 #2
0
파일: MyCoupons.cs 프로젝트: davinx/himedi
 protected override void AttachChildControls()
 {
     this.coupons = (Common_Coupon_CouponList) this.FindControl("Common_Coupons_CouponsList");
     this.txtCoupon = (TextBox) this.FindControl("txtCoupon");
     this.status = (SmallStatusMessage) this.FindControl("status");
     this.btnAddCoupon = ButtonManager.Create(this.FindControl("btnAddCoupon"));
     this.btnAddCoupon.Click += new EventHandler(this.btnAddCoupon_Click);
     new HyperLink();
     if (!this.Page.IsPostBack)
     {
         this.BindCoupons();
     }
 }