protected override void AttachChildControls() { this.txtPromoteSalesName = (TextBox)this.FindControl("txtPromoteSalesName"); this.fckDescription = (KindeditorControl)this.FindControl("fckDescription"); if (!this.Page.IsPostBack && this.promotion != null) { this.txtPromoteSalesName.Text = this.promotion.Name; this.fckDescription.Text = this.promotion.Description; } }
protected override void AttachChildControls() { txtPromoteSalesName = (TextBox)FindControl("txtPromoteSalesName"); fckDescription = (KindeditorControl)FindControl("fckDescription"); if (!Page.IsPostBack && (promotion != null)) { txtPromoteSalesName.Text = promotion.Name; fckDescription.Text = promotion.Description; } }
protected override void AttachChildControls() { this.txtPromoteSalesName = (TextBox) this.FindControl("txtPromoteSalesName"); this.fckDescription = (KindeditorControl) this.FindControl("fckDescription"); if (!this.Page.IsPostBack && (this.promotion != null)) { this.txtPromoteSalesName.Text = this.promotion.Name; this.fckDescription.Text = this.promotion.Description; } }