Edit

Share via


ScriptManager.GetRegisteredOnSubmitStatements Method

Definition

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

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Web::UI::RegisteredScript ^> ^ GetRegisteredOnSubmitStatements();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredScript> GetRegisteredOnSubmitStatements ();
member this.GetRegisteredOnSubmitStatements : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Web.UI.RegisteredScript>
Public Function GetRegisteredOnSubmitStatements () As ReadOnlyCollection(Of RegisteredScript)

Returns

A generic collection that contains onsubmit statements.

Examples

RegisterOnSubmitStatement

RegisterOnSubmitStatement

Remarks

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

Applies to