Ok, I thought I knew how to list articles in EPi v4.61. I've done this many times in many different ways before. Now, after 1 year from EPi.... I must be getting senile!
I cannot for the life of.... get NewsList to list any articles. It might by something fundamental I've forgotten. I've tried the following without success.
Ok, I thought I knew how to list articles in EPi v4.61.
I've done this many times in many different ways before.
Now, after 1 year from EPi.... I must be getting senile!
I cannot for the life of.... get NewsList to list any articles. It might by something fundamental I've forgotten. I've tried the following without success.
Attempt 1:
<EPiServer:NewsList runat="server" id="articleList" SortBy="PageName">
------
articleList.PageLink = CurrentPage.PageLink; // PageReference.Parse(CurrentPage
articleList.DataBind();
Attempt 2:
<EPiServer:NewsList runat="server" id="articleList" SortBy="PageName">
------
PageDataCollection newsPages = GetChildren(CurrentPage.PageLink);
articleList.DataSource = newsPages;
articleList.DataBind();
Please help :)