DateTimeControl Members

Include Protected Members
Include Inherited Members

Represents a DateTime control.

The DateTimeControl type exposes the following members.

Constructors

  Name Description
Public method DateTimeControl Initializes a new instance of the DateTimeControl class.

Top

Properties

  Name Description
Protected property Adapter (Inherited from Control.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property AutoPostBack Gets or sets a value that indicates whether the control posts back to the server each time a user interacts with the control.
Public property BindingContainer (Inherited from Control.)
Public property Calendar Gets or sets the calendar type for the control.
Public property CalendarImageUrl Gets or sets the URL of the calendar image used by the control.
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from SPCompositeControl.)
Public property CssClassDescription Gets or sets the cascading style sheet (CSS) class used for the control's description.
Public property CssClassTextBox Gets or sets the cascading style sheet (CSS) class used for the control's input text box.
Public property DateOnly Gets or sets a value that indicates whether or not the control displays only date values and not time values.
Public property DatePickerFrameUrl Gets or sets the URL of the DatePicker frame .aspx file.
Public property DatePickerJavaScriptUrl Gets or sets the URL of the control's ECMAScript (JScript, JavaScript) file.
Protected property DesignMode (Inherited from Control.)
Public property Enabled Gets or sets a value that indicates whether or not the control is enabled.
Public property EnableTheming (Inherited from Control.)
Public property EnableViewState (Inherited from Control.)
Public property ErrorMessage Gets or sets the error message text generated when control validation fails.
Protected property Events (Inherited from Control.)
Public property FirstDayOfWeek Gets or sets a value that indicates the first day of the week displayed in the calendar.
Public property FirstWeekOfYear Gets or sets a value that indicates the first week of the year displayed in the calendar.
Protected property HasChildViewState (Inherited from Control.)
Public property HijriAdjustment Gets or sets the number of days to add or subtract from the calendar to accommodate the variances in the start and the end of Ramadan and to accommodate the date difference between countries/regions.
Public property HonorSecondsAndMilliseconds
Public property HoursMode24 Gets or sets a value that indicates whether or not the time is displayed using a 24-hour clock.
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Public property IsDateEmpty Gets or sets a value that indicates whether or not a date value is displayed in the control.
Public property IsRequiredField Gets or sets a value that indicates whether or not the control's DateTime field is a required field.
Protected property IsTrackingViewState (Inherited from Control.)
Public property IsValid Gets or sets a value that indicates whether or not the user-entered content in the control passes validation.
Protected property IsViewStateEnabled (Inherited from Control.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property LocaleId Gets or sets the control's locale identifier.
Public property MaxDate Gets or sets the maximum date and time that can be selected in the control.
Public property MinDate Gets or sets the minimum date and time that can be selected in the control.
Public property NamingContainer (Inherited from Control.)
Public property OnValueChangeClientScript Gets or sets the text of an OnValueChange script.
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property SelectedDate Gets or sets the currently selected date in the control.
Public property ShowWeekNumber Gets or sets a value that indicates whether to display the week number in the calendar.
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from Control.)
Public property TabIndex Gets or sets the tab index of the control.
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property TimeOnly Gets or sets a value that indicates whether the control displays only time values and not date values.
Public property TimeZoneID Gets or sets the identifier for the time zone used to display time values.
Public property ToolTip Gets or sets the control's tooltip text.
Public property UniqueID (Inherited from Control.)
Public property UseTimeZoneAdjustment Gets or sets a value that indicates whether the time values in the control are automatically adjusted for daylight savings time.
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property WorkWeek Gets or sets a seven-character string that indicates the work days in a week.

Top

Methods

  Name Description
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Public method ClearSelection Clears the current selection in the control.
Protected method CreateChildControls Notifies the server control to create any child controls it contains in preparation for posting back or rendering. (Overrides Control.CreateChildControls().)
Protected method CreateControlCollection (Inherited from Control.)
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose (Inherited from Control.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus Sets input focus to the control. (Overrides Control.Focus().)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadViewState (Inherited from Control.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnDateChanged Raises an event when the date displayed in the control has changed.
Protected method OnInit Raises an event when the server control is initialized. (Overrides Control.OnInit(EventArgs).)
Protected method OnLoad (Inherited from Control.)
Protected method OnPreRender Raises an event after the control is loaded but before it renders. (Overrides Control.OnPreRender(EventArgs).)
Protected method OnUnload (Inherited from Control.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render Sends the content of the control to the specified HtmlTextWriter object, which writes the content that is rendered on the client. (Overrides Control.Render(HtmlTextWriter).)
Protected method RenderChildren (Inherited from Control.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from Control.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from Control.)
Public method Validate Validates the control data.

Top

Events

  Name Description
Public event DataBinding (Inherited from Control.)
Public event DateChanged Occurs when the date selected in the control changes.
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Unload (Inherited from Control.)

Top

Fields

  Name Description
Protected field m_validatorRequired This type or member supports Microsoft SharePoint Foundation and is not intended to be used directly from your code.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IPostBackDataHandler.LoadPostData Loads the posted content of the control, if it is different from the last posting.
Explicit interface implemetationPrivate method IPostBackDataHandler.RaisePostDataChangedEvent Signals the server control to notify Microsoft SharePoint Foundation that the state of the control has changed.
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetationPrivate property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerLoad Raises an event when the control designer loads.
Explicit interface implemetationPrivate method IDesignerEventAccessor.OnDesignerPreRender Raises an event after the control designer is loaded but prior to rendering.
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetationPrivate property IControlDesignerAccessor.UserData (Inherited from Control.)

Top

See Also

Reference

DateTimeControl Class

Microsoft.SharePoint.WebControls Namespace