Click or drag to resize
ControlsHelperRegisterClientScriptBlock Method
Register client script block. If current control is under update panel, script is registered in the update panel

Namespace: CMS.Base.Web.UI
Assembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 13.0.131
Syntax
C#
public static void RegisterClientScriptBlock(
	Control ctrl,
	Page page,
	Type type,
	string key,
	string script
)

Parameters

ctrl
Type: System.Web.UIControl
Current control
page
Type: System.Web.UIPage
Current page
type
Type: SystemType
Type
key
Type: SystemString
Script key
script
Type: SystemString
Script
See Also