Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets an event handler for callback when the Save button in the form is clicked.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property OnSaveHandler As EventHandler
Get
Set
'Usage
Dim instance As SPFormContext
Dim value As EventHandler
value = instance.OnSaveHandler
instance.OnSaveHandler = value
public EventHandler OnSaveHandler { get; set; }
Property Value
Type: System.EventHandler
Remarks
The event handler specified by the OnSaveHandler property overrides the default save behavior.