Click or drag to resize

EAPUtilRegisterClientScriptFile Method

Register an HTML script tag to include a javascript file. Use RegisterClientScriptBlock(Page, String, String) to register a script from a string and 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 void RegisterClientScriptFile(
	Page pg,
	string name,
	string file
)

Parameters

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