ScriptHelper RegisterScriptFromFile Method Kentico 8.1 API Reference
Registers the client script and renders the script from file into the page.

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

Parameters

page
Type: OnlineSystem.Web.UI Page
The page object that is registering the client script block
url
Type: OnlineSystem String
The URL of the script file
See Also