For a list of all members of this type, see DatePickerOptions members.
Name | Description | |
---|---|---|
ChangeMonth | Whether the month should be rendered as a dropdown instead of text. | |
ChangeYear | Whether the year should be rendered as a dropdown instead of text. Use the YearRange option to control which years are made available for selection. | |
ClientEvents | Set implementations of client events raised by a widget. Event handler assumes 2 parameters: 1st parameter has name "evt" and 2nd parameter has name "ui". To get information about member variables available for "ui" parameter, please consult documentation of a widget and its events. Examples: 1. Full implementation: new Dictionary<string, string> { { "dropDownOpening", "function(evt,ui){alert('drop:'+ui.owner);}" } } 2. Content of inline function: new Dictionary<string, string> { { "dropDownOpening", "alert('drop:'+ui.owner);" } } 3. Name of global function: new Dictionary<string, string> { { "dropDownOpening", "nameOfGlobalFunction" } } Note: Instead of explicit key-strings, which represent name of event exposed by a widget, the event-constants defined by a particular control can be used. Example: new Dictionary<string, string> { { ComboClientEvents.DropDownOpening, "nameOfGlobalFunction" } } (Inherited from Infragistics.Web.Mvc.ModelWidgetBase) | |
CloseText | The text to display for the close link. Use the ShowButtonPanel option to display this button. | |
CurrentText | The text to display for the current day link. Use the ShowButtonPanel option to display this button. | |
DayNamesMin | The list of minimised day names, starting from Sunday, for use as column headers within the datepicker. | |
DefaultDate | Set the date to highlight on first opening if the field is blank. Relative date that contains value and period pairs; valid periods are "y" for years, "m" for months, "w" for weeks, and "d" for days. For example, "+1m +7d" represents one month and seven days from today. | |
FirstDay | Set the first day of the week using the following days enumeration. | |
GoToCurrent | When true, the current day link moves to the currently selected date instead of today. | |
HideIfNoPrevNext | Normally the previous and next links are disabled when not applicable. You can hide them altogether by setting this attribute to true. | |
IsRTL | Whether the current language is drawn from right to left. | |
MaxDate | The maximum selectable date. Relative date that contains value and period pairs; valid periods are "y" for years, "m" for months, "w" for weeks, and "d" for days. For example, "+1m +7d" represents one month and seven days from today. | |
MinDate | The minimum selectable date. Relative date that contains value and period pairs; valid periods are "y" for years, "m" for months, "w" for weeks, and "d" for days. For example, "+1m +7d" represents one month and seven days from today. | |
MonthNamesShort | The list of abbreviated month names, as used in the month header on each datepicker. | |
NextText | The text to display for the next month link. With the standard ThemeRoller styling, this value is replaced by an icon. | |
NumberOfMonths | The number of months to show at once. | |
PrevText | The text to display for the previous month link. With the standard ThemeRoller styling, this value is replaced by an icon. | |
SelectOtherMonths | Whether days in other months shown before or after the current month are selectable. This only applies if the ShowOtherMonths option is set to true. | |
ShowAnim | The name of the animation used to show and hide the datepicker. Use one of the following animation effects. | |
ShowButtonPanel | Whether to display a button pane underneath the calendar. The button pane contains two buttons, a Today button that links to the current day, and a Done button that closes the datepicker. The buttons' text can be customized using the CurrentText and CloseText options respectively. | |
ShowCurrentAtPos | When displaying multiple months via the NumberOfMonths option, the showCurrentAtPos option defines which position to display the current month in. | |
ShowMonthAfterYear | Whether to show the month after the year in the header. | |
ShowOptions | Additional properties for the provided animation. | |
ShowOtherMonths | Whether to display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use the SelectOtherMonths option. | |
ShowWeek | When true, a column is added to show the week of the year. If the calculateWeek handler is defined, it determines how the week of the year is calculated. | |
StepMonths | Set how many months to move when clicking the previous/next links. | |
WeekHeader | The text to display for the week of the year column heading. Use the showWeek option to display this column. | |
YearRange | The range of years displayed in the year drop-down: either relative to today's year ("-nn:+nn"), relative to the currently selected year ("c-nn:c+nn"), absolute ("nnnn:nnnn"), or combinations of these formats ("nnnn:-nn"). Note that this option only affects what appears in the drop-down, to restrict which dates may be selected use the MinDate and/or MaxDate options. | |
YearSuffix | Additional text to display after the year in the month headers. |
Name | Description | |
---|---|---|
Store | Return the store with all of the options (Inherited from Infragistics.Web.Mvc.ModelBase) |
View on GitHub