Click or drag to resize
JavaScriptRegisterClientScriptBlock Method
Register a client script on page

Namespace: ToolBoox
Assembly: ToolBoox (in ToolBoox.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static bool RegisterClientScriptBlock(
	Page page,
	string scriptName,
	string script,
	JavaScriptRegisterClientScriptMode mode
)

Parameters

page
Type: System.Web.UIPage
Current page instance (usually Page)
scriptName
Type: SystemString
The name of the script
script
Type: SystemString
The javascript script
mode
Type: ToolBooxJavaScriptRegisterClientScriptMode
Registeration mode, on head of the page or end file

Return Value

Type: Boolean
True if succeded, False otherwise
See Also