protected override void AttachChildControls() { this.dlstPtConsultationReplyed = (ThemedTemplatedList) this.FindControl("dlstPtConsultationReplyed"); this.pagerConsultationReplyed = (Pager) this.FindControl("pagerConsultationReplyed"); PageTitle.AddSiteNameTitle("咨询/已回复", HiContext.Current.Context); if (!this.Page.IsPostBack) { this.BindPtConsultationReplyed(); } }
protected override void AttachChildControls() { this.dlstPts = (ThemedTemplatedList) this.FindControl("dlstPts"); this.pager = (Pager) this.FindControl("pager"); this.litReviewCount = (Literal) this.FindControl("litReviewCount"); PageTitle.AddSiteNameTitle("我参与的评论", HiContext.Current.Context); if (!this.Page.IsPostBack) { if (this.litReviewCount != null) { this.litReviewCount.Text = CommentsHelper.GetUserProductReviewsCount().ToString(); } this.BindPtAndReviewsAndReplys(); } }