JSHelperAddFrameworkScriptRef Method |
Add a javascript file reference that depends on framework script (e.g. jQuery or Bootstrap).
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void AddFrameworkScriptRef(
Page page,
string src,
bool limitCache = false
)
Public Shared Sub AddFrameworkScriptRef (
page As Page,
src As String,
Optional limitCache As Boolean = false
)
Parameters
- page
- Type: System.Web.UIPage
The page to which to add the reference. - src
- Type: SystemString
The script file path. - limitCache (Optional)
- Type: SystemBoolean
Add a ver parameter with the platform version to the reference to prevent unwanted browser caching.
See Also