AttachEvent is responsible for adding the event to the scriptmanager. This method must be overridden by all control developers inheriting this class.

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

Syntax

C#
public abstract void AttachEvent(
	ScriptManager scriptManager,
	string clientId
)

Parameters

scriptManager
Type: EPiServer.ClientScript..::.ScriptManager
The ScriptManager to create the events in.
clientId
Type: System..::.String
The control that will raise the event

See Also