JSHelperAddScriptRef Method (Page, String, Boolean, Int32) |
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,
int index
)
Public Shared Sub AddScriptRef (
page As Page,
src As String,
limitCache As Boolean,
index As Integer
)
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. - index
- Type: SystemInt32
Position at which to add the reference. If negative, script is appended.
See Also