AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

AdvantageCommonBasePage..::..InjectHeaderInfo Method

Splices RenderTopResources output (and the page title) into the rendered page content immediately after the <head> opening tag. Used by descendants whose pages lack a server-side <head> element and therefore cannot use Page.Header.Controls.AddAt. Override to alter the splice strategy (for example, to match <head> tags carrying attributes).

Namespace:  AdvantageCMS.Core.Common.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


protected virtual string InjectHeaderInfo(
	string pageContent
)

Parameters

pageContent
Type: String
The fully rendered HTML for the page.

Return Value

The rewritten HTML with top-of-head content inserted.

See Also


AdvantageCommonBasePage