AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

ScriptManagerHelper..::..RegisterClientScriptResource 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 RegisterClientScriptResource(
	Page page,
	Type type,
	string resourceName
)

Parameters

page
Type: Page
The page.
type
Type: Type
The type of the client script file.
resourceName
Type: String
The name of resource that contains the script file.