Export (0) Print
Expand All

DateTimeControl class

Represents a DateTime control.

System.Object
  System.Web.UI.Control
    Microsoft.SharePoint.WebControls.SPCompositeControl
      Microsoft.SharePoint.WebControls.DateTimeControl

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class DateTimeControl : SPCompositeControl, 
	IValidator, IPostBackDataHandler, IDesignerEventAccessor

Important noteImportant

In order for the DateTimeControl to render properly, the EnableViewState property must be set to true.

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

Community Additions

Show:
© 2014 Microsoft