Click or drag to resize
ScriptHelperGetIncludeScript Method (String, Boolean)
Builds an HTML script tag that can be used to include external script given its URL. Allows to explicitly disable script minification.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string GetIncludeScript(
	string url,
	bool minify
)

Parameters

url
Type: SystemString
URL of the script file
minify
Type: SystemBoolean
True if minification should be used, otherwise false

Return Value

Type: String
Script tag that references external URL
See Also