This topic has not yet been rated - Rate this topic

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)
'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class DateTimeControl _
	Inherits SPCompositeControl _
	Implements IValidator, IPostBackDataHandler, IDesignerEventAccessor
'Usage
Dim instance As DateTimeControl
Important note Important

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.