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

Class DateTimeEditControl

The DateEditControl control provides a standard UI component for editing date properties.

Inheritance
System.Object
DateTimeEditControl
Namespace: DotNetNuke.Web.UI.WebControls.Internal.PropertyEditorControls
Assembly: DotNetNuke.Web.dll
Syntax
public class DateTimeEditControl : EditControl
Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

Properties

| Improve this Doc View Source

DateValue

Gets dateValue returns the Date representation of the Value.

Declaration
protected DateTime DateValue { get; }
Property Value
Type Description
DateTime

A Date representing the Value.

Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

DefaultFormat

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

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

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

Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

Format

Gets format is a string that will be used to format the date in View mode.

Declaration
protected virtual string Format { get; }
Property Value
Type Description
System.String

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

Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

ID

The DateEditControl control provides a standard UI component for editing date properties.

Declaration
public override string ID { get; set; }
Property Value
Type Description
System.String
Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

OldDateValue

Gets oldDateValue returns the Date representation of the OldValue.

Declaration
protected DateTime OldDateValue { get; }
Property Value
Type Description
DateTime

A Date representing the OldValue.

Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

StringValue

Gets or sets the Value expressed as a String.

Declaration
protected override string StringValue { get; set; }
Property Value
Type Description
System.String
Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

Methods

| Improve this Doc View Source

CreateChildControls()

The DateEditControl control provides a standard UI component for editing date properties.

Declaration
protected override void CreateChildControls()
Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

LoadDateControls()

The DateEditControl control provides a standard UI component for editing date properties.

Declaration
protected virtual void LoadDateControls()
Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

LoadPostData(String, NameValueCollection)

The DateEditControl control provides a standard UI component for editing date properties.

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

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

OnDataChanged(EventArgs)

OnDataChanged is called by the PostBack Handler when the Data has changed.

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

An EventArgs object.

Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

OnPreRender(EventArgs)

The DateEditControl control provides a standard UI component for editing date properties.

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

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

RenderEditMode(HtmlTextWriter)

RenderEditMode is called by the base control to render the control in Edit Mode.

Declaration
protected override void RenderEditMode(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer
Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

| Improve this Doc View Source

RenderViewMode(HtmlTextWriter)

RenderViewMode renders the View (readonly) mode of the control.

Declaration
protected override void RenderViewMode(HtmlTextWriter writer)
Parameters
Type Name Description
HtmlTextWriter writer

A HtmlTextWriter.

Remarks

This control is only for internal use, please don't reference it in any other place as it may be removed in future.

Extension Methods

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