Beispiel #1
0
        protected override void AttachChildControls()
        {
            this.helpCategories = (WapTemplatedRepeater)this.FindControl("helpCategories");

            this.helpCategories.DataSource = CommentBrowser.GetHelpCategories();
            this.helpCategories.DataBind();

            PageTitle.AddSiteNameTitle("帮助中心");
            WAPHeadName.AddHeadName("帮助中心");
        }
Beispiel #2
0
        protected override void AttachChildControls()
        {
            PageTitle.AddSiteNameTitle("帮助与反馈");
            Member member = HiContext.Current.User as Member;

            if (member == null)
            {
                this.Page.Response.Redirect("/Vshop/Login.aspx");
            }
            this.helpCategories = (VTemplatedRepeater)this.FindControl("helpCategories");

            this.helpCategories.DataSource = CommentBrowser.GetHelpCategories();
            this.helpCategories.DataBind();
        }
Beispiel #3
0
 protected override void OnInit(EventArgs e)
 {
     base.DataSource = CommentBrowser.GetHelpCategories();
     base.DataBind();
 }