/// <summary> /// Binds the data. /// </summary> public void BindData() { hfPublicationFilter.Value = Filter; hfPublicationType.Value = PublicationTypeId.ToString(); hfPublicationCategory.Value = PublicationCategoryId.ToString(); rlvPublications.DataSource = _dataManager.Publication.SelectActivityRibbon(((LeadForcePortalBasePage)Page).SiteId, CurrentUser.Instance != null && CurrentUser.Instance.ContactID.HasValue ? (Guid)CurrentUser.Instance.ContactID : Guid.Empty, PublicationTypeId, PublicationCategoryId, Filter, 0, ((LeadForcePortalBasePage)Page).PortalSettingsId); rlvPublications.DataBind(); }
/// <summary> /// Binds the data. /// </summary> public void BindData() { hfPublicationFilter.Value = Filter; hfPublicationType.Value = PublicationTypeId.ToString(); hfPublicationCategory.Value = PublicationCategoryId.ToString(); rlvPublications.DataSource = _dataManager.Publication.SelectActivityRibbon(CurrentUser.Instance.SiteID, CurrentUser.Instance.ContactID, PublicationTypeId, PublicationCategoryId, Filter, 0); rlvPublications.DataBind(); }