DatePickerExtender Properties Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

The DatePickerExtender type exposes the following members.

Properties

  Name Description
Protected property Adapter (Inherited from Control.)
Public property AlternateField
The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the altFormat setting below to change the format of the date within this field. Leave as blank for no alternate field.
Public property AlternateFormat
The dateFormat to be used for the altField option. This allows one date format to be shown to the user for selection purposes, while a different format is actually sent behind the scenes. For a full list of the possible formats see http://docs.jquery.com/UI/Datepicker/formatDate.
Public property AppendText
The text to display after each date field, e.g. to show the required format.
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property AssociatedControlID
The ID of the control to extend as a date picker.
Public property BindingContainer (Inherited from Control.)
Public property ButtonImage
The URL for the popup button image. If set, button text becomes the alt value and is not directly displayed.
Public property ButtonImageOnly
Set to true to place an image after the field to use as the trigger without it appearing on a button.
Public property ButtonText
The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'.
Public property ChangeMonth
Allows you to change the month by selecting from a drop-down list. You can enable this feature by setting the attribute to true.
Public property ChangeYear
Allows you to change the year by selecting from a drop-down list. You can enable this feature by setting the attribute to true.
Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Public property CloseText
The text to display for the close link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.
Public property ConstrainInput
True if the input field is constrained to the current date format.
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property CurrentText
The text to display for the current day link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.
Public property DateFormat
The dateFormat to be used for the altField option. This allows one date format to be shown to the user for selection purposes, while a different format is actually sent behind the scenes. For a full list of the possible formats see http://docs.jquery.com/UI/Datepicker/formatDate.
Public property DayNames
The list of long day names, starting from Sunday, for use as requested via the dateFormat setting. They also appear as popup hints when hovering over the corresponding column headings. This attribute is one of the regionalisation attributes.
Public property DayNamesMin
The list of minimised day names, starting from Sunday, for use as column headers within the datepicker. This attribute is one of the regionalisation attributes.
Public property DayNamesShort
The list of abbreviated day names, starting from Sunday, for use as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.
Public property DefaultDate
Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +7d'), or null for today.
Protected property DesignMode (Inherited from Control.)
Public property Duration
Control the speed at which the datepicker appears, it may be a time in milliseconds, a string representing one of the three predefined speeds (\"slow\", \"normal\", \"fast\"), or '' for immediately.
Public property EnableTheming (Inherited from Control.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property FirstDay
Set the first day of the week: Sunday is 0, Monday is 1, ... This attribute is one of the regionalisation attributes.
Public property GotoCurrent
If true, the current day link moves to the currently selected date instead of today.
Protected property HasChildViewState (Inherited from Control.)
Public property HideIfNoPrevNext
Normally the previous and next links are disabled when not applicable (see minDate/maxDate). You can hide them altogether by setting this attribute to true.
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Public property IgnoreJQueryUIComponentCheck
Gets or sets a value indicating whether [ignore J query UI component check]. Set this to true to ignore checking whether the JQuery UI component exists on the page or not.
Protected property IsChildControlStateCleared (Inherited from Control.)
Public property IsRTL
True if the current language is drawn from right to left. This attribute is one of the regionalisation attributes.
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property MaxDate
Set a maximum selectable date via a Date object, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '+1m +1w'), or null for no limit.
Public property MinDate
Set a minimum selectable date via a Date object, or a number of days from today (e.g. +7) or a string of values and periods ('y' for years, 'm' for months, 'w' for weeks, 'd' for days, e.g. '-1y -1m'), or null for no limit.
Public property MonthNames
The list of full month names, as used in the month header on each datepicker and as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.
Public property MonthNamesShort
The list of abbreviated month names, for use as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.
Public property NamingContainer (Inherited from Control.)
Public property NavigationAsDateFormat
When true the formatDate function is applied to the prevText, nextText, and currentText values before display, allowing them to display the target month names for example.
Public property NextText
The text to display for the next month link. This attribute is one of the regionalisation attributes. With the standard ThemeRoller styling, this value is replaced by an icon.
Public property NumberOfMonths
Set how many months to show at once. The value can be a straight integer, or can be a two-element array to define the number of rows and columns to display.
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PrevText
The text to display for the previous month link. This attribute is one of the regionalisation attributes. With the standard ThemeRoller styling, this value is replaced by an icon.
Public property ShortYearCutoff
Set the cutoff year for determining the century for a date (used in conjunction with dateFormat 'y'). If a numeric value (0-99) is provided then this value is used directly. If a string value is provided then it is converted to a number and added to the current year. Once the cutoff year is calculated, any dates entered with a year value less than or equal to it are considered to be in the current century, while those greater than it are deemed to be in the previous century.
Public property ShowAnim
Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', or any of the show/hide jQuery UI effects.
Public property ShowButtonPanel
Gets or sets a value indicating whether to show button panel.
Public property ShowCurrentAtPos
Specify where in a multi-month display the current month shows, starting from 0 at the top/left.
Public property ShowMonthAfterYear
Whether to show the month after the year in the header.
Public property ShowOn
Have the datepicker appear automatically when the field receives focus ('focus'), appear only when a button is clicked ('button'), or appear when either event takes place ('both').
Public property ShowOptions
If using one of the jQuery UI effects for showAnim, you can provide additional settings for that animation via this option, e.g. direction: 'up'.
Public property ShowOtherMonths
Display dates in other months (non-selectable) at the start or end of the current month.
Public property Site (Inherited from Control.)
Public property SkinID (Inherited from Control.)
Public property StepMonths
Set how many months to move when clicking the Previous/Next links.
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property UniqueID (Inherited from Control.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property YearRange
Control the range of years displayed in the year drop-down: either relative to current year (-nn:+nn) or absolute (nnnn:nnnn).
Top
See Also

Reference