Registers the client script and adds a script file reference to the page.
Allows to explicitly disable script minification.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- element
- Type: CMS.Base PageElement
Page element
- url
- Type: System String
The URL or name of the script file. If only name is provided, the file from ~/CMSScripts/ is taken. It is also possible to input URLs like "Controls/uniselector.js" to access subfolders.
- minify (Optional)
- Type: System Boolean
True if minification should be used, otherwise false
See Also