Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

$addHandlers Shortcut Method

Provides a shortcut to the addHandlers method of the Sys.UI.DomEvent class. This member is static and can be invoked without creating an instance of the class.

Syntax

$addHandlers(element, events, handlerOwner);

Term

Definition

element

The DOM element that exposes the event.

events

A dictionary of events and their handlers.

handlerOwner

(Optional) The object instance that is the context for the delegates that should be created from the handlers.

Exceptions

Exception Type Condition

invalidOperation Function

(Debug) One of the handlers in events is not a function.

Remarks

For details about the method that this shortcut represents, see addHandlers Method.