protected void Page_Load(object sender, EventArgs e) {
            ExpertLivePageItem expertLivePageItem = GetExpertLivePageItem();

            Item parentItem = expertLivePageItem.InnerItem.Parent;

            //Page Title
            ContentPageItem contentPage = new ContentPageItem(parentItem);
            if (contentPage != null) {
                // TODO: section title removed, 
                //scTopicTitle.Text
            }
            
            //Parent Item Navigation
            if (!parentItem.IsOfType(FolderItem.TemplateId)) {
                hlBreadcrumbNav.NavigateUrl = parentItem.GetUrl();
                txtBreadcrumbNav.Text = parentItem.DisplayName;
            }
            else {
                hlBreadcrumbNav.Visible = false;
                txtBreadcrumbNav.Visible = false;
            }

            if (expertLivePageItem != null) {

                var subTopicItems = parentItem.GetChildren();
                if (subTopicItems != null && subTopicItems.Any()) {
                      rptTopicHeader.DataSource = subTopicItems;
                      rptTopicHeader.DataBind();
                }
                else {
                    rptTopicHeader.Visible = false;
                }
            }
        }
        private void BindData(ContentPageItem page)
        {
            hlFacebook.NavigateUrl = SocialHelper.GetFacebookShareUrl(page);
            ltlFacebook.Text = DictionaryConstants.SocialSharingFacebook;

            hlGooglePlus.NavigateUrl = SocialHelper.GetGooglePlusShareUrl(page);
            ltlGooglePlus.Text = DictionaryConstants.SocialSharingGooglePlus;

            hlTwitter.NavigateUrl = SocialHelper.GetTwitterShareUrl(page, page.PageTitle.Raw);
            ltlTwitter.Text = DictionaryConstants.SocialSharingTwitter;
        }
public GroupDiscussionItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public RegisterCommunityProfileItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public PromoItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public PartnerInfoItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public ForumItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public DecisionToolResultsPageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public ExpertDetailPageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public SectionLandingPageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public BaseEventDetailPageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public DonationConfirmationPageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public AssistiveToolsBasePageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public DefaultArticlePageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
Esempio n. 15
0
 public DefaultArticlePageItem(Item innerItem) : base(innerItem)
 {
     _ContentPageItem = new ContentPageItem(innerItem);
 }
public WhatsBeenHappeningItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public AuthorItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);
	_BasePageNEWItem = new BasePageNEWItem(innerItem);

}
public ForgotPasswordItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public AboutPartnersItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public HomePageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public CreateAccountItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public BehaviorToolsLandingPageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public ExpertLivePageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public MultipleChildrenItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public AdvocacyBasePageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public TermsandConditionsItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public InternationalUserPageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public AddAChildModalItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public DecisionQuestionPageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public MonthlyEventsCalendarViewItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}
public TyceBasePageItem(Item innerItem) : base(innerItem)
{
	_ContentPageItem = new ContentPageItem(innerItem);

}