ASPxClientEdit.DetachEditorModificationListener(handler, predicate) Method

Detaches a handler from the editor's event if the editor meets the predicate criteria.

Declaration

static DetachEditorModificationListener(handler: any, predicate: ASPxClientControlPredicate): void

Parameters

Name Type Description
handler any

An object representing a handler.

predicate ASPxClientControlPredicate

An ASPxClientControlPredicate object representing a predicate criteria.

Remarks

Use the ASPxClientEdit.AttachEditorModificationListener method to attach a handler to the ASPxClientEdit's event indicating whether the editor's value has been changed (that is the updated input value for text editors, the changed index - for lists, etc.) since the previous state.

Note

Online demo To review the example related to the ASPxClientEdit.AttachEditorModificationListener method, refer to the Data Editors - Detecting Changes (Web Forms) or Data Editors - Detecting Changes (MVC) online demos.

See Also