Click or drag to resize

EAPUtilIsStartupScriptRegistered Method

Determines whether or not the specified client startup script has already been registered via RegisterStartupScript(Page, String, String).

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static bool IsStartupScriptRegistered(
	Page pg,
	string name
)

Parameters

pg
Type: System.Web.UIPage
The page on which to register the script.
name
Type: SystemString
The name of the script.

Return Value

Type: Boolean
True if a startup script was already registered under the specified name, else false.
See Also