Sys.Component.dispose Method
Removes the component from the application.
aComponent.dispose();
The dispose method releases all resources from the Sys.UI.Component object, raises the disposing event, and unregisters the component from the application.
Show: