AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageModule..::..RegisterTopScript Method (String, Literal)

Registers content to the top of the page

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

Syntax


public void RegisterTopScript(
	string contentId,
	Literal litContent
)

Parameters

contentId
Type: String
The unique ID of the content to ensure it only renders one time on the page
litContent
Type: Literal
Literal content to be rendered