Sys.Application.disposeElement Method

Releases resources and dependencies associated with an element and its child nodes.

Sys.Application.disposeElement(element, childNodesOnly);


The element to dispose.


A boolean value used to determine whether to dispose of the element and its child nodes or to dispose only its child nodes.

This member is static and can be invoked without creating an instance of the class.