Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Initialization when ContentReference.StartPage is ready


I need todo a few checks when ContentReference.StartPage is ready. Can I somehow hook up on that event?

May 09, 2014 11:10

All should be ready if you use this ModuleDependency:

Edited, May 09, 2014 11:44

Almost.. ContentReference.StartPage. is not ready in that code..

May 09, 2014 14:58

ContentReference.StartPage is resolved from the http request. See

You can in admin mode (under Manage WebSites) add host name '*' (wildcard host) to a site. Then that site will be returned as SiteDefinition.Current (and hence also ContentReference.StartPage) when a site can not be resolved from the request (either when there is no request or the host of the request does not match any site).

May 09, 2014 15:17
* 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.