ScriptHelper RegisterModule Method Kentico 8.1 API Reference
Renders JavaScript code to start a client-side module.

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

Parameters

control
Type: OnlineSystem.Web.UI Control
The control that will be used to register JavaScript code.
moduleId
Type: OnlineSystem String
The full name of the client-side module to register.
parameters (Optional)
Type: OnlineSystem Object
An object that contains the named parameters to set for the module.
Remarks

Multiple instances of the same client-side module can be registered. The parameters object contains name/value pairs. Regular, anonymous and dictionary based classes are supported.
See Also