ScriptManager.GetRegisteredDisposeScripts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a read-only collection of dispose scripts that were previously registered with the Page object.
public:
System::Collections::ObjectModel::ReadOnlyCollection<System::Web::UI::RegisteredDisposeScript ^> ^ GetRegisteredDisposeScripts();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredDisposeScript> GetRegisteredDisposeScripts();
member this.GetRegisteredDisposeScripts : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredDisposeScript>
Public Function GetRegisteredDisposeScripts () As ReadOnlyCollection(Of RegisteredDisposeScript)
Returns
A generic collection that contains dispose scripts.
Remarks
A dispose script executes when the UpdatePanel control is updated or deleted.