XmlFormView.EditingState Enumeration

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)

public enum EditingState

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

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.

Community Additions

© 2015 Microsoft