Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RegisteredDisposeScript Class
Collapse the table of content
Expand the table of content

RegisteredDisposeScript Class

Provides access to a dispose script for a control that is inside an UpdatePanel control.


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

public sealed class RegisteredDisposeScript

The RegisteredDisposeScript type exposes the following members.

Public propertyControlGets the control that registered the dispose script.
Public propertyScriptGets the name of the dispose script.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft