AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ScriptManagerHelper..::..RegisterClientScriptBlock Method

Registers the client script block.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static void RegisterClientScriptBlock(
	Page page,
	Type type,
	string key,
	string script,
	bool addScriptTags
)

Parameters

page
Type: Page
The page.
type
Type: Type
The type.
key
Type: String
The key.
script
Type: String
The script.
addScriptTags
Type: Boolean
if set to true [add script tags].