Sys.UI.Behavior dispose Method
Removes the current Behavior object from the application.
MyBehavior.dispose();
Remarks
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.
See Also
Concepts
Creating an Extender Control to Associate a Client Behavior with a Web Server Control