SPPageContentManager.RegisterOnSubmitStatement method (Page, 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 ( _
page As Page, _
type As Type, _
key As String, _
script As String _
)
'Usage
Dim page As Page
Dim type As Type
Dim key As String
Dim script As StringSPPageContentManager.RegisterOnSubmitStatement(page, _
type, key, script)
public static void RegisterOnSubmitStatement(
Page page,
Type type,
string key,
string script
)
Parameters
- page
Type: System.Web.UI.Page
- type
Type: System.Type
- key
Type: System.String
- script
Type: System.String