AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ScriptManagerHelper..::..RegisterClientScriptInclude Method

Registers a script file which to be rendered each time an asynchronous postback occurs. Works only if ScriptManager control is existed on the page. Otherwise does nothing.

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

Syntax


public static void RegisterClientScriptInclude(
	Page page,
	Type type,
	string key,
	string url
)

Parameters

page
Type: Page
The Page object that is registering the client script file.
type
Type: Type
The type of the client script file.
key
Type: String
The string that uniquely identifies the script file.
url
Type: String
The URL that points to the script file.