protected void Page_Load(object sender, EventArgs e)
        {
            InitData();

            Page.RegisterBodyScripts(ResolveUrl("~/products/people/js/sideNavigationPanel.js"));

            GroupRepeater.DataSource = Groups;
            GroupRepeater.DataBind();

            var help = (HelpCenter)LoadControl(HelpCenter.Location);

            help.IsSideBar = true;
            HelpHolder.Controls.Add(help);
            SupportHolder.Controls.Add(LoadControl(Support.Location));
        }
Пример #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            InitData();

            GroupRepeater.DataSource = Groups;
            GroupRepeater.DataBind();

            var help = (HelpCenter)LoadControl(HelpCenter.Location);

            help.IsSideBar = true;
            HelpHolder.Controls.Add(help);
            SupportHolder.Controls.Add(LoadControl(Support.Location));
            VideoGuides.Controls.Add(LoadControl(VideoGuidesControl.Location));
            UserForumHolder.Controls.Add(LoadControl(UserForum.Location));
            InviteUserHolder.Controls.Add(LoadControl(InviteLink.Location));
        }
Пример #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            InitData();

            Page.RegisterBodyScripts("~/products/people/js/sideNavigationPanel.js");

            GroupRepeater.DataSource = Groups;
            GroupRepeater.DataBind();

            var help = (HelpCenter)LoadControl(HelpCenter.Location);

            help.IsSideBar = true;
            HelpHolder.Controls.Add(help);
            SupportHolder.Controls.Add(LoadControl(Support.Location));
            VideoGuides.Controls.Add(LoadControl(VideoGuidesControl.Location));
            UserForumHolder.Controls.Add(LoadControl(UserForum.Location));
            InviteUserHolder.Controls.Add(LoadControl(InviteLink.Location));
        }
 private void BindDepartmentGroup(int DeptID)
 {
     GroupRepeater.DataSource = m_DeptGroup.GetDepartmentGroups(DeptID);
     GroupRepeater.DataBind();
 }