PageReference vs Page ID

Vote:
 
I have managed to retrieve the Page ID for a specific page. Now I want use NewsList and list all news (childs) for this page. I was thinking in line of something like this: EPiServer.Core.PageDataCollection ChildPages; ChildPages = GetChildren(pageLink) The problem is that pageLink is of type PageReference, and all I have is an pageID of the type string. So my question is: How do I list articles/news/pages whn I only have the PageID?
#12932
Mar 25, 2008 18:35
Vote:
 
Hi It would be something like this: EPiServer.Core.PageDataCollection ChildPages; ChildPages = GetChildren(new PageReference(pageID))
#15116
Mar 25, 2008 18:46
Vote:
 
Thanks, that did the trick :-)
#15117
Mar 25, 2008 18:46
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.