ScriptManager.GetRegisteredDisposeScripts Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Retrieves a read-only collection of dispose scripts that were previously registered with the Page object.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

Public Function GetRegisteredDisposeScripts As ReadOnlyCollection(Of RegisteredDisposeScript)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection(Of RegisteredDisposeScript)

A generic collection that contains dispose scripts.

A dispose script executes when the UpdatePanel control is updated or deleted.

.NET Framework
Available since 3.5
Return to top