Helper method to register a client script file. If the method is called multiple times using the same key, only a single instance of the file is registered.

Namespace:  EPiServer.ClientScript
Assembly:  EPiServer (in EPiServer.dll) Version: 5.2.375.236

Syntax

C#
public static void RegisterClientScriptFile(
	Page page,
	string rootRelativePath
)

Parameters

page
Type: System.Web.UI..::.Page
The page.
rootRelativePath
Type: System..::.String
The root relative path.

Remarks

The relativePath will be used as the unique script key.

See Also