Condividi tramite


XmlFormView.EditingState Enumeration

Specifies how the XmlFormView control in the custom Web page is displayed.

Namespace:  Microsoft.Office.InfoPath.Server.Controls
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Enumeration EditingState
'Usage
Dim instance As XmlFormView.EditingState
public enum EditingState

Members

Member name Description
Init The form is not visible when the Web page is opened. The EditingStatus must be changed to Editing before the form can be used.
Editing The form is visible to the user and is ready to use.
Closed The form is closed. The message "The form has been closed" is shown to the user inside the control.

Remarks

If you do not want the form to be displayed immediately on the custom Web page being loaded or when you set the XsnLocation property of the XmlFormView control, you should set the XmlFormView.EditingState to Init in the code or declaratively in the ASP.NET tag for the control.

Setting the value to Closed will display the message "The form has been closed" in the XmlFormView control.

See Also

Reference

Microsoft.Office.InfoPath.Server.Controls Namespace