Registers the client script for AJAX and then 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
- type
- Type: System Type
The type of the client script block
- key
- Type: System String
A unique identifier for the script block
- url
- Type: System String
The URL of the script file
- minify (Optional)
- Type: System Boolean
True if minification should be used, otherwise false
See Also