Compartilhar via


OWSForm Class

The OWSForm class inserts a server control on the .aspx page and renders the JavaScript that is used in the form.

System.Object

   System.Web.UI.Control

      Microsoft.SharePoint.WebControls.SPControl

         Microsoft.SharePoint.WebControls.OWSForm

Public Constructors

The following table shows the public constructors of the OWSForm class and a brief description of each.

Name Description
OWSForm Initializes a new instance of the OWSForm class.

Protected Methods

The following table shows the protected methods of the OWSForm class and a brief description of each.

Name Description
Render Sends the content of the control to the specified HtmlTextWriter object, which writes the content that is rendered on the client.

Public Properties

The following table shows the public properties of the OWSForm class, the data type of each property, and a brief description of each.

Name Data Type Description
FieldPrefix String Gets or sets the string that identifies the application namespace for the form
Name String Gets the name of the form.
ParentForm System.Web.UI.HtmlControls.HtmlForm Gets the parent form for the form.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.WebControls

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security