ScriptHelper GetScriptUrl Method Kentico 8.1 API Reference
Gets the URL used to retrieve external script file. Allows to explicitly disable script minification.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

url
Type: OnlineSystem String
URL to the script file
minify (Optional)
Type: OnlineSystem Boolean
True if minification should be used, otherwise false

Return Value

Type: OnlineString
URL to script file
See Also