Click or drag to resize

JSHelperAddScriptRef Method (Page, String, String)

Add script references to the page header. Generally application developers who want to limit browser caching should provide the AppCacheVer(IAppContext) as the cacheVer.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static void AddScriptRef(
	Page page,
	string src,
	string cacheVer
)

Parameters

page
Type: System.Web.UIPage
The page to which to add the reference.
src
Type: SystemString
The script file path.
cacheVer
Type: SystemString
The cache version parameter to add to the script reference, generally obtained from AppCacheVer(IAppContext).
See Also