JSHelperAddApplicationScriptRefs Method |
Adds the standard application .js script reference(s).
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static int AddApplicationScriptRefs(
IAppContext cxt,
Page page,
bool limitCache,
int index
)
Public Shared Function AddApplicationScriptRefs (
cxt As IAppContext,
page As Page,
limitCache As Boolean,
index As Integer
) As Integer
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - page
- Type: System.Web.UIPage
The page to which to add the reference(s). - 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(s). If negative, script is appended.
Return Value
Type:
Int32The next index at which to add a reference.
See Also