Click or drag to resize

EAPUtilIsClientScriptBlockRegistered Method

Determines whether or not the specified client script block has already been registered on the page using either RegisterClientScriptBlock(Page, String, String) or RegisterClientScriptFile(Page, String, String). See RegisterClientScriptBlock(Page, String, String) for additional documentation on registering client script blocks.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static bool IsClientScriptBlockRegistered(
	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 script block was already registered under the specified name, else false.
See Also