SPPageContentManager.RegisterOnSubmitStatement method (Control, Type, String, String)

Registers a script intended for execution during onsubmit

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Sub RegisterOnSubmitStatement ( _
    ctrl As Control, _
    type As Type, _
    key As String, _
    script As String _
)
'Usage
Dim ctrl As Control
Dim type As Type
Dim key As String
Dim script As StringSPPageContentManager.RegisterOnSubmitStatement(ctrl, _
    type, key, script)
public static void RegisterOnSubmitStatement(
    Control ctrl,
    Type type,
    string key,
    string script
)

Parameters

See also

Reference

SPPageContentManager class

SPPageContentManager members

RegisterOnSubmitStatement overload

Microsoft.SharePoint.WebControls namespace