Initialize the PageLoader with callbacks and filters. Can be overloaded to change the GetPageCallback, InitializeCallback, and InitializeCallback on the HierarchicalPageLoader object

Namespace:  EPiServer.Web.WebControls
Assembly:  EPiServer.Web.WebControls (in EPiServer.Web.WebControls.dll) Version: 5.2.375.236

Syntax

C#
protected virtual void InitializePageLoader(
	HierarchicalPageLoader pageLoader
)

Parameters

pageLoader
Type: EPiServer.Web.WebControls..::.HierarchicalPageLoader
object to set the callbacks on

Remarks

Sets the pageLoader.GetChildrenCallback to get the children with AutoDetect and filters pages with selected access level. Sets the pageLoader.GetPageCallback to get the PageData with AutoDetect. Sets the pageLoader.InitializeCallback to set the loader properties (calls SetLoaderProperties) It also creates presort filters, sort filters, and postsort filters.

See Also