AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

CMSBaseUserControl..::..RegisterTopScript Method (String, String)

Registers the top script

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

Syntax


public void RegisterTopScript(
	string contentId,
	string content
)

Parameters

contentId
Type: String
The id of the content
content
Type: String
Content to register

Exceptions


ExceptionCondition
eCMSEngineEventStatus..::..ExceptionThis function requires the control to be registered on a CMSBasePage