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
PageDataCollection pdc = ((PropertyMultiPage)CurrentPage.Property["relatedPages"]).SelectedPages;
Intergen.EP.Utils.MultipageLinkItemCollection itemcol = (PropertyMultiPage)CurrentPage.Property["relatedPages"]).SelectedLinkItems;
for(i = 0;i < itemcol.Count;i++)
{
pdc.Add(new PageData(itemcol[i].PageLink));
}
relatedPagesContainer.DataSource = pdc;
relatedPagesContainer.DataBind();
(OBS Syntax not tested)
You should also be able to use the LinkItemCollection to create a new PageDataCollection if you only want the linkitems in a seperate container.
That might work or atleast give you some ideas how to solve your issue.