SPFormContext.OnSaveHandler property

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)

public EventHandler OnSaveHandler { get; set; }

Property value

Type: System.EventHandler
The event handler.

The event handler specified by the OnSaveHandler property overrides the default save behavior.

Show: