Share via


OWSControl Class

The OWSControl class ensures that all OWSForm server controls are contained within an <OWSForm> tag.

System.Object

   System.Web.UI.Control

      Microsoft.SharePoint.WebControls.SPControl

         Microsoft.SharePoint.WebControls.OWSControl

Protected Constructors

The following table shows the protected constructors of the OWSControl class and a brief description of each.

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

Protected Methods

The following table shows the protected methods of the OWSControl 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 OWSControl class, the data type of each property, and a brief description of each.

Name Data Type Description
ParentOWSForm Microsoft.SharePoint.WebControls.OWSForm Gets the parent form for the control.

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