Skip to main content
A newer version of this page is available. .

ASPxClientUtils.DetachEventFromElement(element, eventName, method) Method

Unbinds the specified function from a specific element’s event, so that the function stops receiving notifications when the event fires.

Declaration

static DetachEventFromElement(
    element: any,
    eventName: string,
    method: any
): void

Parameters

Name Type Description
element any

An object specifying the required element.

eventName string

A string value that specifies the required event name.

method any

An object that specifies the event’s handling function.

See Also