共用方式為


Sys.UI.Control dispose Method

Removes the current control from the application.

MyControl.dispose();

Remarks

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

See Also

Tasks

Creating Custom AJAX Client Controls

Reference

Sys.UI.Control Class

Other Resources

Language Reference