November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Managed to get this working with the following code
protected override void SetupEditControls()
{
PageReference pageRef = new PageReference(CurrentPage.PageLink.ID);
foreach (PageData page in new PageList().GetChildren(pageRef))
{
AddItem(page);
}
}
I am currently tearing out my hair with this. I want to create a custom control which is a drop down list contining the page ids and page names of all pages below the page with the property.
to put it in context i have a section page with articles under it, I want this control so I can select an article through the drop down list on the section page, the section page will then have the page id of teh selected page so information from the article can be pulled through on to the section page.
I hav etried creating a newslist and getting the children from it, I have tried creating a pagedatacollection passing it the pagereferance.selfreferance but I can get anythign working?