• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class DateTimeEditControl

The DateTimeEditControl control provides a standard UI component for editing date and time properties.

Inheritance
System.Object
EditControl
DateEditControl
DateTimeEditControl
Implements
IPostBackDataHandler
Inherited Members
DateEditControl.DateValue
DateEditControl.Format
DateEditControl.OldDateValue
DateEditControl.StringValue
DateEditControl.OnDataChanged(EventArgs)
DateEditControl.OnPreRender(EventArgs)
DateEditControl.RenderEditMode(HtmlTextWriter)
DateEditControl.RenderViewMode(HtmlTextWriter)
EditControl.ItemAdded
EditControl.ItemDeleted
EditControl.ValueChanged
EditControl.IsValid
EditControl.EditControlClientId
EditControl.CustomAttributes
EditControl.EditMode
EditControl.LocalResourceFile
EditControl.Name
EditControl.Category
EditControl.OldValue
EditControl.Required
EditControl.SystemType
EditControl.Value
EditControl.DataField
EditControl.User
EditControl.RaisePostDataChangedEvent()
EditControl.OnAttributesChanged()
EditControl.OnItemAdded(PropertyEditorEventArgs)
EditControl.OnItemDeleted(PropertyEditorEventArgs)
EditControl.OnValueChanged(PropertyEditorEventArgs)
EditControl.Render(HtmlTextWriter)
Namespace: DotNetNuke.UI.WebControls
Assembly: DotNetNuke.dll
Syntax
public class DateTimeEditControl : DateEditControl

Properties

| Improve this Doc View Source

DefaultFormat

Gets defaultFormat is a string that will be used to format the date in the absence of a FormatAttribute.

Declaration
protected override string DefaultFormat { get; }
Property Value
Type Description
System.String

A String representing the default format to use to render the date.

Overrides
DateEditControl.DefaultFormat

Methods

| Improve this Doc View Source

CreateChildControls()

The DateTimeEditControl control provides a standard UI component for editing date and time properties.

Declaration
protected override void CreateChildControls()
Overrides
DateEditControl.CreateChildControls()
| Improve this Doc View Source

LoadDateControls()

The DateTimeEditControl control provides a standard UI component for editing date and time properties.

Declaration
protected override void LoadDateControls()
Overrides
DateEditControl.LoadDateControls()
| Improve this Doc View Source

LoadPostData(String, NameValueCollection)

LoadPostData loads the Post Back Data and determines whether the value has change.

Declaration
public override bool LoadPostData(string postDataKey, NameValueCollection postCollection)
Parameters
Type Name Description
System.String postDataKey

A key to the PostBack Data to load.

NameValueCollection postCollection

A name value collection of postback data.

Returns
Type Description
System.Boolean

true if the value has changed, otherwise false.

Overrides
DateEditControl.LoadPostData(String, NameValueCollection)
| Improve this Doc View Source

OnInit(EventArgs)

The DateTimeEditControl control provides a standard UI component for editing date and time properties.

Declaration
protected override void OnInit(EventArgs e)
Parameters
Type Name Description
EventArgs e

Implements

IPostBackDataHandler

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS