ScriptManager.GetRegisteredDisposeScripts Method

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 ReadOnlyCollection<RegisteredDisposeScript> GetRegisteredDisposeScripts()

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<RegisteredDisposeScript>
A generic collection that contains dispose scripts.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft