Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Right....
If anyone else should encounter this problem, do the following:
1. Delete your template from you solution.
2. Add new template and input the same code.
I don't know why this happends....
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 :)