Sys.Component.dispose Method
Removes the component from the application.
aComponent.dispose();
Remarks
The dispose method releases all resources from the Sys.UI.Component object, raises the disposing event, and unregisters the component from the application.
See Also
Tasks
Creating Custom Non-Visual Client Components
Concepts
Creating a Client Component Class Using the Prototype Model