ScriptManager.GetRegisteredOnSubmitStatements Method ()

 
System_CAPS_noteNote

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

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

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

member GetRegisteredOnSubmitStatements : unit -> ReadOnlyCollection<RegisteredScript>

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<RegisteredScript>

A generic collection that contains onsubmit statements.

An onsubmit statement is ECMAScript (JavaScript) that is executed when the form is submitted.

.NET Framework
Available since 3.5
Return to top
Show: