Click or drag to resize
ScriptHelperRegisterScriptFromFile Method
Registers the client script and renders the script from file into the page.

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax
C#
public static void RegisterScriptFromFile(
	Page page,
	string url
)

Parameters

page
Type: System.Web.UIPage
The page object that is registering the client script block
url
Type: SystemString
The URL of the script file
See Also