IPageDataContextInitializerInitialize Method (TreeNode) |
Initializes the page data context by given page.
Namespace: Kentico.Content.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax Remarks Please note that the
page instance needs to be fully initialized and
retrieved based on the current context requirements. The current culture, culture settings, and
preview mode need to be reflected to provide correct data version of the page.
To handle this automatically by the system, the
IPageRetriever can be used to retrieve
the page instance used for the data context initialization.
See Also