MagicCMS Documentation

MagicUtils..::..LoadScript Method

Loads a script avoiding to load already loaded scripts.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public static void LoadScript(
	ClientScriptManager cs,
	Type type,
	string scripUrl
)

Parameters

cs
Type: ClientScriptManager
The cs.
type
Type: Type
The type.
scripUrl
Type: String
The scrip URL.