ScriptManager.GetRegisteredStartupScripts Method

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

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

public ReadOnlyCollection<RegisteredScript> GetRegisteredStartupScripts()

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<RegisteredScript>
A generic collection that contains startup scripts.

A startup script is client script that is associated with a control that executes when the control is started.

.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