In Episerver,How to get all child pages reference of a page on another page? [Resolved]

Posted by Nishant_Mittal under Others on 2/1/2013 | Points: 10 | Views : 2408 | Status : [Member] | Replies : 1
How to get all child pages reference of a page on another page in episerver?




Responses

Posted by: Ranjeet_8 on: 2/1/2013 [Member] [MVP] Gold | Points: 50

Up
0
Down

Resolved
Try this,


IEnumerable<NewPage> childrenPage =
DataFactory.Instance.GetChildren(pageLink)
.Where(childP => childP.GetType() == typeof(NewPage))
.Cast<NewPage>();



Nishant_Mittal, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response