Skip to main content

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.


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


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.

onlyBubbling boolean
See Also