Sys.Application.disposeElement Method
Releases resources and dependencies associated with an element and its child nodes.
Sys.Application.disposeElement(element, childNodesOnly);
Arguments
element
The element to dispose.childNodesOnly
A boolean value used to determine whether to dispose of the element and its child nodes or to dispose only its child nodes.
Remarks
This member is static and can be invoked without creating an instance of the class.