Click or drag to resize

EAPUtilRegisterDocReadyScript Method

Register jQuery startup javascript with the page. Uses RegisterStartupScript(Page, String, String) to register a jQuery $(document).ready() call for the specified script. The script will be wrapped in an anonymous function call. Use IsStartupScriptRegistered(Page, String) to determine if the block is aready registered.

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

Parameters

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