protected void SetSubNav(RepeaterItem container, Guid rootContentID)
        {
            Control ctrl = FindSubControl(container);

            if (ctrl == null)
            {
                ctrl = new ListItemPlaceHolder();
                container.Controls.Add(ctrl);
            }
            else
            {
                Control ctrl2 = FindSubControl(ctrl);
                if (ctrl2 != null)
                {
                    ctrl = ctrl2;
                }
            }

            List <SiteNav> lstNav = GetChildren(rootContentID);

            if (lstNav != null && lstNav.Any())
            {
                ListItemRepeater rSubNav = new ListItemRepeater();

                rSubNav.ID             = "rSubNav";
                rSubNav.HeaderTemplate = SubNavHeaderTemplate;
                rSubNav.ItemTemplate   = SubNavTemplate;
                rSubNav.FooterTemplate = SubNavFooterTemplate;

                ctrl.Controls.Add(rSubNav);

                rSubNav.DataSource = lstNav;
                rSubNav.DataBind();

                rSubNav.EnableViewState = this.EnableViewState;

                UpdateHyperLink(rSubNav);
            }
        }
        protected void SetSubNav(RepeaterItem container, Guid rootContentID)
        {
            Control ctrl = FindSubControl(container);

            if (ctrl == null) {
                ctrl = new ListItemPlaceHolder();
                container.Controls.Add(ctrl);
            } else {
                Control ctrl2 = FindSubControl(ctrl);
                if (ctrl2 != null) {
                    ctrl = ctrl2;
                }
            }

            List<SiteNav> lstNav = GetChildren(rootContentID);

            if (lstNav != null && lstNav.Any()) {
                ListItemRepeater rSubNav = new ListItemRepeater();

                rSubNav.ID = "rSubNav";
                rSubNav.HeaderTemplate = SubNavHeaderTemplate;
                rSubNav.ItemTemplate = SubNavTemplate;
                rSubNav.FooterTemplate = SubNavFooterTemplate;

                ctrl.Controls.Add(rSubNav);

                rSubNav.DataSource = lstNav;
                rSubNav.DataBind();

                rSubNav.EnableViewState = this.EnableViewState;

                UpdateHyperLink(rSubNav);
            }
        }