Add a custom client side event listener as a function reference

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

Syntax

C#
public void AddEventListener(
	string domNode,
	string eventName,
	string eventHandler
)

Parameters

domNode
Type: System..::.String
Name of the node to add an event for. If the name is an id the string must be qouted.
eventName
Type: System..::.String
Name of the client side event with the "on" prefix omitted
eventHandler
Type: System..::.String
Client side event function reference

See Also