Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
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.