Share via


AxDatePicker

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

An AxDatePicker component displays a control that allows the user to select a date value. It is typically used for non-bound fields.

Properties

The AxDatePicker component has the following properties:

Accessibility

Property

Description

AccessKey

The keyboard shortcut used by the control. Not used for Enterprise Portal.

TabIndex

The tab order of the control.

Appearance

Property

Description

BackColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderStyle

This property is inherited from the base control. It is not specific to Enterprise Portal.

BorderWidth

This property is inherited from the base control. It is not specific to Enterprise Portal.

CssClass

This property is inherited from the base control. It is not specific to Enterprise Portal.

Font

This property is inherited from the base control. It is not specific to Enterprise Portal.

ForeColor

This property is inherited from the base control. It is not specific to Enterprise Portal.

Behavior

Property

Description

ButtonOnClientClick

Specifies the name of the client-side script that executes when the button is clicked. If the client-side script is a function, be sure to include the parentheses ().

Enabled

Specifies whether the date picker is enabled.

EnableTheming

Indicates whether the control can be themed.

EnableViewState

Specifies whether the control automatically saves its state for use in round-trips.

SkinID

The SkinId of the control skin that provides the skin of the control.

TargetControlId

The control to which the value from the date picker will be returned.

TimeTextBoxTargetControlId

This property is not used for Enterprise Portal.

ToolTip

Not used for Enterprise Portal.

Visible

Indicates whether the control is visible and rendered.

Data

Property

Description

Expressions

The expressions that are bound to properties of the control.

Layout

Property

Description

Height

The height of the control.

Width

The width of the control.

Misc

Property

Description

ID

The programmatic name of the control.

Events

The AxLookup component has the events listed in the following table.

Event

Description

DataBinding

Occurs when the server control binds to a data source.

DateSelected

Occurs when a date value is selected in the control.

Disposed

Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested.

Init

Occurs when the server control is initialized, which is the first step in its lifecycle.

Load

Occurs when the server control is loaded into the System.Web.UI.Page object.

PreRender

Occurs after the System.Web.UI.Control object is loaded but prior to rendering.

Unload

Occurs when the server control is unloaded from memory.