JSHelperAddScriptRef Method (Page, String, Boolean) |
Add script references to the page header.
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,
bool limitCache
)
Public Shared Sub AddScriptRef (
page As Page,
src As String,
limitCache As Boolean
)
Parameters
- page
- Type: System.Web.UIPage
The page to which to add the reference. - src
- Type: SystemString
The script file path. - limitCache
- Type: SystemBoolean
Add a ver parameter with the platform version to the reference to prevent unwanted browser caching.
See Also