Search code examples
c#asp.netcontent-management-systemepiserver-6

Purpose of an EpiServer MenuList's page link?


Cannot seem to grasp the concept of PageLink attributes for EpiServer listing controls. I need to understand this: "PageLink: Provides a page reference to a page; the children of that page will become the collection used." Supposing I'd like to use a MenuList - what sort of 'children' will be/can be used as a datasource to a menu control?


Solution

  • According to the EPiServer documentation

    As PageLink is guaranteed to be unique among all pages in a certain EPiServer instances, it is used in the following example to create unique IDs and names for HTML check boxes. The code is used to present the visitor with a selection of pages and allows them to select one or more for further processing.

    My understanding is that if you set a PageLink in your listing control, it will have access to the child pages based on that page.