protected override void AttachChildControls()
 {
     this.dlstPtConsultationReply = (ThemedTemplatedList)this.FindControl("dlstPtConsultationReply");
     this.pagerConsultationReply  = (Pager)this.FindControl("pagerConsultationReply");
     PageTitle.AddSiteNameTitle("咨询/未回复", HiContext.Current.Context);
     if (!this.Page.IsPostBack)
     {
         this.BindPtConsultationReply();
     }
 }
Exemplo n.º 2
0
 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)
     {
         PersonalHelper.ViewProductConsultations();
         this.BindPtConsultationReplyed();
     }
 }
 protected override void AttachChildControls()
 {
     this.dlstPtConsultationReply = (ThemedTemplatedList)this.FindControl("dlstPtConsultationReply");
     this.pagerConsultationReply  = (Pager)this.FindControl("pagerConsultationReply");
     this.litreply       = (System.Web.UI.WebControls.Literal) this.FindControl("litreply");
     this.litNotReverted = (System.Web.UI.WebControls.Literal) this.FindControl("litNotReverted");
     PageTitle.AddSiteNameTitle("咨询/未回复");
     if (!this.Page.IsPostBack)
     {
         this.BindPtConsultationReply();
     }
 }
Exemplo n.º 4
0
 protected override void AttachChildControls()
 {
     this.dlstPts        = (ThemedTemplatedList)this.FindControl("dlstPts");
     this.pager          = (Pager)this.FindControl("pager");
     this.litReviewCount = (System.Web.UI.WebControls.Literal) this.FindControl("litReviewCount");
     PageTitle.AddSiteNameTitle("我参与的评论");
     if (!this.Page.IsPostBack)
     {
         if (this.litReviewCount != null)
         {
             this.litReviewCount.Text = ProductBrowser.GetUserProductReviewsCount().ToString();
         }
         this.BindPtAndReviewsAndReplys();
     }
 }