GetChildren replacement in CMS?

I've have been told that when you run the GetChildren method in CMS 5 you don't get the same result as you did in EPi4. What method can I use to get the same, filtered result? The fun is that if you use GetChildren to fill a asp:repeater you won't get the same items/pages rendered as if you fill a EPiServer:PageList, ie: PageDataCollection pages = DataFactory.Instance.GetChildren(CurrentPage.PageLink); myRepeater.DataSource = pages; myRepeater.DataBind(); myPageList.DataSource = pages; myPageList.DataBind(); myRepeater will show all pages found by GetChildren, myPageList will make it's own filtering, for instance it removes unpublished pages. This is not an error, it's FYI :)
Nov 29, 2007 14:17
Found it! // Markus
Nov 29, 2007 14:58
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.