Registers a document ready script.

Namespace: MonoSoftware.MonoX.Utilities
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static void RegisterDocumentReadyScript(
	Control control,
	Type type,
	string key,
	string script,
	bool addScriptTags
)
Visual Basic
Public Shared Sub RegisterDocumentReadyScript ( 
	control As Control,
	type As Type,
	key As String,
	script As String,
	addScriptTags As Boolean
)
Visual C++
public:
static void RegisterDocumentReadyScript(
	Control^ control, 
	Type^ type, 
	String^ key, 
	String^ script, 
	bool addScriptTags
)
F#
static member RegisterDocumentReadyScript : 
        control : Control * 
        type : Type * 
        key : string * 
        script : string * 
        addScriptTags : bool -> unit 

Parameters

control
Type: System.Web.UI..::..Control
Control
type
Type: System..::..Type
Type
key
Type: System..::..String
Script key
script
Type: System..::..String
Script contents
addScriptTags
Type: System..::..Boolean
Wheter to add the script tags

See Also