Ejemplo n.º 1
0
 void FillContentList(bool updateFromDB)
 {
     if (updateFromDB || _contentList == null)
     {
         _contentList = _contentLib.GetList(App_Code.SessionInfo.CurrentSite.siteId, "", "");
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="parentContentId"></param>
        void PopulateChildContentList(long parentContentId)
        {
            IList <awContent> contentList = _contentLib.GetList(App_Code.SessionInfo.CurrentSite.siteId,
                                                                "parentcontentid=" + parentContentId, "pubDate");

            _contentList.DataSource = contentList;
            _contentList.DataBind();
            _contentList.Visible = true;
        }