protected override void AttachChildControls() { this.txtSearchText = (TextBox)this.FindControl("txtSearchText"); this.dropPageSize = (PageSizeDropDownList)this.FindControl("dropPageSize"); this.btnSearchButton = ButtonManager.Create(this.FindControl("btnSearchButton")); this.dropMemberRank = (MemberGradeDropDownList)this.FindControl("rankList"); this.btnSearchButton.Click += new EventHandler(this.btnSearchButton_Click); if (!this.Page.IsPostBack) { this.InitializeControls(); } }
protected override void AttachChildControls() { this.txtSearchText = (TextBox) this.FindControl("txtSearchText"); this.dropPageSize = (PageSizeDropDownList) this.FindControl("dropPageSize"); this.btnSearchButton = ButtonManager.Create(this.FindControl("btnSearchButton")); this.dropMemberRank = (MemberGradeDropDownList) this.FindControl("rankList"); this.btnSearchButton.Click += new EventHandler(this.btnSearchButton_Click); if (!this.Page.IsPostBack) { this.InitializeControls(); } }