BrowserFormWebPart.SubmitBehavior property
Gets or sets the action to perform after the user submits the form open in the Web Part.
Namespace: Microsoft.Office.InfoPath.Server.Controls.WebUI
Assembly: Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)
Syntax
'Declaration
Public Property SubmitBehavior As SubmitBehavior
Get
Set
'Usage
Dim instance As BrowserFormWebPart
Dim value As SubmitBehavior
value = instance.SubmitBehavior
instance.SubmitBehavior = value
public SubmitBehavior SubmitBehavior { get; set; }
Property value
Type: Microsoft.Office.InfoPath.Server.Controls.WebUI.SubmitBehavior
One of the enumeration values.
Remarks
Setting the SubmitBehavior property to the FormDefault value of the SubmitBehavior enumeration specifies that the hosted form will use its own setting from the Submit Options dialog box in the Microsoft InfoPath designer. Setting this property to any other SubmitBehavior enumeration value overrides the submit setting that was specified in the form itself.