Sys.UI.Behavior dispose Method

Removes the current Behavior object from the application.

MyBehavior.dispose();

The dispose method releases all resources from the Sys.UI.Behavior object, unbinds it from its associated HTML Document Object Model (DOM) element, and unregisters it from the application.

Show: