C# Class Fluqi.Widget.jDatePicker.Methods

The "Methods" are called after the control has been initialised. If for instance you want to change the value of a property, or invoke "some" action on the control (e.g. "open" or "close") you call the "Method" rather than through the "Options" (as Options is about the initialisation of the control).
Inheritance: Core.Methods
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

Méthode Description
Destroy ( ) : void

Remove the datepicker functionality completely. This will return the element back to its pre-init state.

Dialog ( System.DateTime date ) : void

Open a datepicker in a "dialog" box.

Dialog ( System.DateTime date, string onSelect ) : void

Open a datepicker in a "dialog" box.

Dialog ( System.DateTime date, string onSelect, Options settings ) : void

Open a datepicker in a "dialog" box.

Dialog ( System.DateTime date, string onSelect, int leftPosition, int topPosition, Options settings ) : void

Open a datepicker in a "dialog" box.

Dialog ( string date ) : void

Open a datepicker in a "dialog" box.

Dialog ( string date, string onSelect ) : void

Open a datepicker in a "dialog" box.

Dialog ( string date, string onSelect, Options settings ) : void

Open a datepicker in a "dialog" box.

Dialog ( string date, string onSelect, int leftPosition, int topPosition, Options settings ) : void

Open a datepicker in a "dialog" box.

Disable ( ) : void

Disable the datepicker.

Enable ( ) : void

Enable the datepicker.

GetAltField ( ) : void

Returns [in JavaScript] the current "altField" setting.

GetAltFormat ( ) : void

Returns [in JavaScript] the current "altFormat" setting.

GetAppendText ( ) : void

Returns [in JavaScript] the current "appendText" setting.

GetAutoSize ( ) : void

Returns [in JavaScript] the current "autoSize" setting.

GetButtonImage ( ) : void

Returns [in JavaScript] the current "buttonImage" setting.

GetButtonImageOnly ( ) : void

Returns [in JavaScript] the current "buttonImageOnly" setting.

GetButtonText ( ) : void

Returns [in JavaScript] the current "buttonText" setting.

GetCalculateWeek ( ) : void

Returns [in JavaScript] the current "calculateWeek" setting.

GetChangeMonth ( ) : void

Returns [in JavaScript] the current "changeMonth" setting.

GetChangeYear ( ) : void

Returns [in JavaScript] the current "changeYear" setting.

GetCloseText ( ) : void

Returns [in JavaScript] the current "closeText" setting.

GetConstrainInput ( ) : void

Returns [in JavaScript] the current "constraintInput" setting.

GetCurrentText ( ) : void

Returns [in JavaScript] the current "currentText" setting.

GetDate ( ) : void

Returns the current date for the datepicker or null if no date has been selected.

GetDateFormat ( ) : void

Returns [in JavaScript] the current "dateFormat" setting.

GetDayNames ( ) : void

Returns [in JavaScript] the current "dayNames" setting.

GetDayNamesMin ( ) : void

Returns [in JavaScript] the current "dayNamesMin" setting.

GetDayNamesShort ( ) : void

Returns [in JavaScript] the current "dayNamesShort" setting.

GetDefaultDate ( ) : void

Returns [in JavaScript] the current "defaultDate" setting.

GetDuration ( ) : void

Returns [in JavaScript] the current "duration" setting.

GetFirstDay ( ) : void

Returns [in JavaScript] the current "firstDay" setting.

GetGotoCurrent ( ) : void

Returns [in JavaScript] the current "gotoCurrent" setting.

GetHideIfNoPrevNext ( ) : void

Returns [in JavaScript] the current "hideIfNoPrevNext" setting.

GetIsRTL ( ) : void

Returns [in JavaScript] the current "isRTL" setting.

GetMaxDate ( ) : void

Returns [in JavaScript] the current "maxDate" setting.

GetMinDate ( ) : void

Returns [in JavaScript] the current "minDate" setting.

GetMonthNames ( ) : void

Returns [in JavaScript] the current "monthNames" setting.

GetMonthNamesShort ( ) : void

Returns [in JavaScript] the current "monthNamesShort" setting.

GetNavigationAsDateFormat ( ) : void

Returns [in JavaScript] the current "navigationAsDateFormat" setting.

GetNextText ( ) : void

Returns [in JavaScript] the current "nextText" setting.

GetNumberOfMonths ( ) : void

Returns [in JavaScript] the current "numberOfMonths" setting.

GetPrevText ( ) : void

Returns [in JavaScript] the current "prevText" setting.

GetSelectOtherMonths ( ) : void

Returns [in JavaScript] the current "selectOtherMonths" setting.

GetShortYearCutoff ( ) : void

Returns [in JavaScript] the current "shortYearCutoff" setting.

GetShowAnim ( ) : void

Returns [in JavaScript] the current "showAnim" setting.

GetShowButtonPanel ( ) : void

Returns [in JavaScript] the current "showButtonPanel" setting.

GetShowCurrentAtPos ( ) : void

Returns [in JavaScript] the current "showCurrentAtPos" setting.

GetShowMonthAfterYear ( ) : void

Returns [in JavaScript] the current "showMonthAfterYear" setting.

GetShowOn ( ) : void

Returns [in JavaScript] the current "showOn" setting.

GetShowOptions ( ) : void

If using one of the jQuery UI effects for showAnim, you can provide additional settings for that animation via this option.

GetShowOtherMonths ( ) : void

Returns [in JavaScript] the current "showOtherMonths" setting.

GetShowWeek ( ) : void

Returns [in JavaScript] the current "showWeek" setting.

GetStepMonths ( ) : void

Returns [in JavaScript] the current "stepMonths" setting.

GetWeekHeader ( ) : void

Returns [in JavaScript] the current "weekHeader" setting.

GetYearRange ( ) : void

Returns [in JavaScript] the current "yearRange" setting.

GetYearSuffix ( ) : void

Returns [in JavaScript] the current "yearSuffix" setting.

Hide ( ) : void

Close a previously opened date picker.

IsDisabled ( ) : void

Determines if the datepicker is disabled

Methods ( Fluqi.Widget.jDatePicker.DatePicker dp ) : System

Constructor

Refresh ( ) : void

Redraw a date picker, after having made some external modifications.

SetAltField ( string newValue ) : void

The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the altFormat setting to change the format of the date within this field. Leave as blank for no alternate field.

SetAltField ( string newValue, bool inDoubleQuotes ) : void

The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the altFormat setting to change the format of the date within this field. Leave as blank for no alternate field.

SetAltFieldJS ( string newValue ) : void

The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the altFormat setting to change the format of the date within this field. Leave as blank for no alternate field. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetAltFormat ( string newValue ) : void

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 the formatDate function

SetAltFormat ( string newValue, bool inDoubleQuotes ) : void

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 the formatDate function

SetAltFormatJS ( string newValue ) : void

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 the formatDate function. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetAppendText ( string newValue ) : void

The text to display after each date field, e.g. to show the required format.

SetAppendText ( string newValue, bool inDoubleQuotes ) : void

The text to display after each date field, e.g. to show the required format.

SetAppendTextJS ( string newValue ) : void

The text to display after each date field, e.g. to show the required format. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetAutoSize ( bool newValue ) : void

Set to true to automatically resize the input field to accommodate dates in the current dateFormat.

SetButtonImage ( string newValue ) : void

The URL for the popup button image. If set, buttonText becomes the alt value and is not directly displayed.

SetButtonImage ( string newValue, bool inDoubleQuotes ) : void

The URL for the popup button image. If set, buttonText becomes the alt value and is not directly displayed.

SetButtonImageJS ( string newValue ) : void

The URL for the popup button image. If set, buttonText becomes the alt value and is not directly displayed. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetButtonImageOnly ( bool newValue ) : void

Set to true to place an image after the field to use as the trigger without it appearing on a button.

SetButtonText ( string newValue ) : void

The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'.

SetButtonText ( string newValue, bool inDoubleQuotes ) : void

The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'.

SetButtonTextJS ( string newValue ) : void

The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetCalculateWeek ( string newValue ) : void

A function to calculate the week of the year for a given date. The default implementation uses the ISO 8601 definition: weeks start on a Monday; the first week of the year contains the first Thursday of the year. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetCalculateWeekJS ( string newValue ) : void

A function to calculate the week of the year for a given date. The default implementation uses the ISO 8601 definition: weeks start on a Monday; the first week of the year contains the first Thursday of the year. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetChangeMonth ( bool newValue ) : void

Allows you to change the month by selecting from a drop-down list. You can enable this feature by setting the attribute to true.

SetChangeYear ( bool newValue ) : void

Allows you to change the year by selecting from a drop-down list. You can enable this feature by setting the attribute to true. Use the yearRange option to control which years are made available for selection.

SetCloseText ( string newValue ) : void

The text to display for the close link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.

SetCloseText ( string newValue, bool inDoubleQuotes ) : void

The text to display for the close link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.

SetCloseTextJS ( string newValue ) : void

The text to display for the close link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetConstrainInput ( bool newValue ) : void

When true entry in the input field is constrained to those characters allowed by the current dateFormat.

SetCurrentText ( string newValue ) : void

The text to display for the current day link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.

SetCurrentText ( string newValue, bool inDoubleQuotes ) : void

The text to display for the current day link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.

SetCurrentTextJS ( string newValue ) : void

The text to display for the current day link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetDate ( System.DateTime dt ) : void

Sets the current date for the datepicker. The new date is a .NET Date object which is converted the JavaScript equivalent (using the jQuery parseDate helper function).

SetDateFormat ( string newValue ) : void

The format for parsed and displayed dates. This attribute is one of the regionalisation attributes. For a full list of the possible formats see the formatDate function.

SetDateFormat ( string newValue, bool inDoubleQuotes ) : void

The format for parsed and displayed dates. This attribute is one of the regionalisation attributes. For a full list of the possible formats see the formatDate function.

SetDateFormatJS ( string newValue ) : void

The format for parsed and displayed dates. This attribute is one of the regionalisation attributes. For a full list of the possible formats see the formatDate function. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetDayNames ( ) : void

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.

SetDayNames ( List newValues ) : void

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.

SetDayNamesMin ( ) : void

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.

SetDayNamesMin ( List newValues ) : void

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.

SetDayNamesShort ( ) : void

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.

SetDayNamesShort ( List newValues ) : void

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.

SetDefaultDate ( System.DateTime newValue ) : void

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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.

SetDefaultDate ( int newValue ) : void

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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.

SetDefaultDate ( string newValue ) : void

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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.

SetDefaultDate ( string newValue, bool inDoubleQuotes ) : void

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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.

SetDefaultDateJS ( string newValue ) : void

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetDuration ( Core speed ) : void

Control the speed at which the datepicker appears,

SetDuration ( int newValue ) : void

Control the speed at which the datepicker appears, Duration in milliseconds

SetDuration ( string newValue ) : void

Control the speed at which the datepicker appears, using one of the inbuilt constants of "slow", "normal" or "fast"

SetFirstDay ( int newValue ) : void

Set the first day of the week: Sunday is 0, Monday is 1, ... This attribute is one of the regionalisation attributes.

SetGotoCurrent ( bool newValue ) : void

When true the current day link moves to the currently selected date instead of today.

SetHideIfNoPrevNext ( bool newValue ) : void

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.

SetIsRTL ( bool newValue ) : void

True if the current language is drawn from right to left. This attribute is one of the regionalisation attributes.

SetMaxDate ( System.DateTime newValue ) : void

Set a maximum selectable date via a Date object.

SetMaxDate ( int newValue ) : void

Set a maximum selectable date as a number of days from today (e.g. +7)

SetMaxDate ( string newValue ) : void

Set a maximum selectable date as 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.

SetMaxDateJS ( string newValue ) : void

Set a maximum selectable date as 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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetMinDate ( System.DateTime newValue ) : void

Set a minimum selectable date via a Date object.

SetMinDate ( int newValue ) : void

Set a minimum selectable date via number of days from today (e.g. +7).

SetMinDate ( string newValue ) : void

Set a minimum selectable date via 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.

SetMinDate ( string newValue, bool inDoubleQuotes ) : void

Set a minimum selectable date via 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.

SetMinDateJS ( string newValue ) : void

Set a minimum selectable date via 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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetMonthNames ( ) : void

The list of full month names, for use as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.

SetMonthNames ( List newValues ) : void

The list of full month names, for use as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.

SetMonthNamesShort ( ) : void

The list of abbreviated 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.

SetMonthNamesShort ( List newValues ) : void

The list of abbreviated 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.

SetNavigationAsDateFormat ( bool newValue ) : void

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

SetNextText ( string newValue ) : void

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.

SetNextText ( string newValue, bool inDoubleQuotes ) : void

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.

SetNextTextJS ( string newValue ) : void

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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetNumberOfMonths ( int newValue ) : void

Set how many months to show at once. or can be a two-element array to define the number of rows and columns to display

SetNumberOfMonths ( int numRows, int numCols ) : void

Set how many months to show at once.

SetPrevText ( string newValue ) : void

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.

SetPrevText ( string newValue, bool inDoubleQuotes ) : void

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.

SetPrevTextJS ( string newValue ) : void

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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetSelectOtherMonths ( bool newValue ) : void

When true days in other months shown before or after the current month are selectable. This only applies if showOtherMonths is also true

SetShortYearCutoff ( int newValue ) : void

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.

SetShortYearCutoff ( string newValue ) : void

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.

SetShortYearCutoff ( string newValue, bool inDoubleQuotes ) : void

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.

SetShortYearCutoffJS ( string newValue ) : void

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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetShowAnim ( Core animation ) : void

Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation

SetShowAnim ( string newValue ) : void

Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation

SetShowAnim ( string newValue, bool inDoubleQuotes ) : void

Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation

SetShowAnimJS ( string newValue ) : void

Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetShowButtonPanel ( bool newValue ) : void

Whether to show the button panel.

SetShowCurrentAtPos ( int newValue ) : void

Specify where in a multi-month display the current month shows, starting from 0 at the top/left

SetShowMonthAfterYear ( bool newValue ) : void

Whether to show the month after the year in the header. This attribute is one of the regionalisation attributes.

SetShowOnButton ( ) : void

Have the datepicker appear automatically when a button is clicked.

SetShowOnFocus ( ) : void

Have the datepicker appear automatically when the field receives focus

SetShowOnFocusOrButton ( ) : void

Have the datepicker appear automatically when the field receives focus or when a button is clicked ('button').

SetShowOptions ( string newValue ) : void

If using one of the jQuery UI effects for showAnim, you can provide additional settings for that animation via this option.

SetShowOtherMonths ( bool newValue ) : void

Display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use selectOtherMonths.

SetShowWeek ( bool newValue ) : void

When true a column is added to show the week of the year. The calculateWeek option determines how the week of the year is calculated. You may also want to change the firstDay option.

SetStepMonths ( int newValue ) : void

Set how many months to move when clicking the Previous/Next links

SetWeekHeader ( string newValue ) : void

The text to display for the week of the year column heading. This attribute is one of the regionalisation attributes. Use showWeek to display this column.

SetWeekHeader ( string newValue, bool inDoubleQuotes ) : void

The text to display for the week of the year column heading. This attribute is one of the regionalisation attributes. Use showWeek to display this column.

SetWeekHeaderJS ( string newValue ) : void

The text to display for the week of the year column heading. This attribute is one of the regionalisation attributes. Use showWeek to display this column. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetYearRange ( string newValue ) : void

Control 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.

SetYearRange ( string newValue, bool inDoubleQuotes ) : void

Control 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.

SetYearRange ( string lowerRange, string upperRange ) : void

Control 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.

SetYearRangeJS ( string newValue ) : void

Control 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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetYearSuffix ( string newValue ) : void

Additional text to display after the year in the month headers. This attribute is one of the regionalisation attributes.

SetYearSuffix ( string newValue, bool inDoubleQuotes ) : void

Additional text to display after the year in the month headers. This attribute is one of the regionalisation attributes.

SetYearSuffixJS ( string newValue ) : void

Additional text to display after the year in the month headers. This attribute is one of the regionalisation attributes. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

Show ( ) : void

Call up a previously attached date picker.

Widget ( ) : void

Returns the .ui-datepicker element.

Private Methods

Méthode Description
DialogBuilder ( string date, string onSelect, int leftPosition, int topPosition, Options settings ) : void

As there are so many overrides for the In-Dialog option, the building of the option is abstracted out

Method Details

Destroy() public méthode

Remove the datepicker functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
Résultat void

Dialog() public méthode

Open a datepicker in a "dialog" box.
public Dialog ( System.DateTime date ) : void
date System.DateTime Initial date for the date picker as Date.
Résultat void

Dialog() public méthode

Open a datepicker in a "dialog" box.
public Dialog ( System.DateTime date, string onSelect ) : void
date System.DateTime Initial date for the date picker as Date.
onSelect string /// A callback function when a date is selected. /// The function receives the date text and date picker instance as parameters. ///
Résultat void

Dialog() public méthode

Open a datepicker in a "dialog" box.
public Dialog ( System.DateTime date, string onSelect, Options settings ) : void
date System.DateTime Initial date for the date picker as Date.
onSelect string /// A callback function when a date is selected. /// The function receives the date text and date picker instance as parameters. ///
settings Options The new settings for the date picker.
Résultat void

Dialog() public méthode

Open a datepicker in a "dialog" box.
public Dialog ( System.DateTime date, string onSelect, int leftPosition, int topPosition, Options settings ) : void
date System.DateTime Initial date for the date picker as Date.
onSelect string A callback function when a date is selected. The function receives the date text and date picker instance as parameters.
leftPosition int The position of the left of the dialog
topPosition int The position of the top/left of the dialog
settings Options The new settings for the date picker.
Résultat void

Dialog() public méthode

Open a datepicker in a "dialog" box.
public Dialog ( string date ) : void
date string Initial date for the date picker as a string in the current date format.
Résultat void

Dialog() public méthode

Open a datepicker in a "dialog" box.
public Dialog ( string date, string onSelect ) : void
date string Initial date for the date picker as a string in the current date format.
onSelect string /// A callback function when a date is selected. /// The function receives the date text and date picker instance as parameters. ///
Résultat void

Dialog() public méthode

Open a datepicker in a "dialog" box.
public Dialog ( string date, string onSelect, Options settings ) : void
date string Initial date for the date picker as a string in the current date format.
onSelect string /// A callback function when a date is selected. /// The function receives the date text and date picker instance as parameters. ///
settings Options The new settings for the date picker.
Résultat void

Dialog() public méthode

Open a datepicker in a "dialog" box.
public Dialog ( string date, string onSelect, int leftPosition, int topPosition, Options settings ) : void
date string Initial date for the date picker as a string in the current date format.
onSelect string /// A callback function when a date is selected. /// The function receives the date text and date picker instance as parameters. ///
leftPosition int The position of the left of the dialog
topPosition int The position of the top/left of the dialog
settings Options The new settings for the date picker.
Résultat void

Disable() public méthode

Disable the datepicker.
public Disable ( ) : void
Résultat void

Enable() public méthode

Enable the datepicker.
public Enable ( ) : void
Résultat void

GetAltField() public méthode

Returns [in JavaScript] the current "altField" setting.
public GetAltField ( ) : void
Résultat void

GetAltFormat() public méthode

Returns [in JavaScript] the current "altFormat" setting.
public GetAltFormat ( ) : void
Résultat void

GetAppendText() public méthode

Returns [in JavaScript] the current "appendText" setting.
public GetAppendText ( ) : void
Résultat void

GetAutoSize() public méthode

Returns [in JavaScript] the current "autoSize" setting.
public GetAutoSize ( ) : void
Résultat void

GetButtonImage() public méthode

Returns [in JavaScript] the current "buttonImage" setting.
public GetButtonImage ( ) : void
Résultat void

GetButtonImageOnly() public méthode

Returns [in JavaScript] the current "buttonImageOnly" setting.
public GetButtonImageOnly ( ) : void
Résultat void

GetButtonText() public méthode

Returns [in JavaScript] the current "buttonText" setting.
public GetButtonText ( ) : void
Résultat void

GetCalculateWeek() public méthode

Returns [in JavaScript] the current "calculateWeek" setting.
public GetCalculateWeek ( ) : void
Résultat void

GetChangeMonth() public méthode

Returns [in JavaScript] the current "changeMonth" setting.
public GetChangeMonth ( ) : void
Résultat void

GetChangeYear() public méthode

Returns [in JavaScript] the current "changeYear" setting.
public GetChangeYear ( ) : void
Résultat void

GetCloseText() public méthode

Returns [in JavaScript] the current "closeText" setting.
public GetCloseText ( ) : void
Résultat void

GetConstrainInput() public méthode

Returns [in JavaScript] the current "constraintInput" setting.
public GetConstrainInput ( ) : void
Résultat void

GetCurrentText() public méthode

Returns [in JavaScript] the current "currentText" setting.
public GetCurrentText ( ) : void
Résultat void

GetDate() public méthode

Returns the current date for the datepicker or null if no date has been selected.
public GetDate ( ) : void
Résultat void

GetDateFormat() public méthode

Returns [in JavaScript] the current "dateFormat" setting.
public GetDateFormat ( ) : void
Résultat void

GetDayNames() public méthode

Returns [in JavaScript] the current "dayNames" setting.
public GetDayNames ( ) : void
Résultat void

GetDayNamesMin() public méthode

Returns [in JavaScript] the current "dayNamesMin" setting.
public GetDayNamesMin ( ) : void
Résultat void

GetDayNamesShort() public méthode

Returns [in JavaScript] the current "dayNamesShort" setting.
public GetDayNamesShort ( ) : void
Résultat void

GetDefaultDate() public méthode

Returns [in JavaScript] the current "defaultDate" setting.
public GetDefaultDate ( ) : void
Résultat void

GetDuration() public méthode

Returns [in JavaScript] the current "duration" setting.
public GetDuration ( ) : void
Résultat void

GetFirstDay() public méthode

Returns [in JavaScript] the current "firstDay" setting.
public GetFirstDay ( ) : void
Résultat void

GetGotoCurrent() public méthode

Returns [in JavaScript] the current "gotoCurrent" setting.
public GetGotoCurrent ( ) : void
Résultat void

GetHideIfNoPrevNext() public méthode

Returns [in JavaScript] the current "hideIfNoPrevNext" setting.
public GetHideIfNoPrevNext ( ) : void
Résultat void

GetIsRTL() public méthode

Returns [in JavaScript] the current "isRTL" setting.
public GetIsRTL ( ) : void
Résultat void

GetMaxDate() public méthode

Returns [in JavaScript] the current "maxDate" setting.
public GetMaxDate ( ) : void
Résultat void

GetMinDate() public méthode

Returns [in JavaScript] the current "minDate" setting.
public GetMinDate ( ) : void
Résultat void

GetMonthNames() public méthode

Returns [in JavaScript] the current "monthNames" setting.
public GetMonthNames ( ) : void
Résultat void

GetMonthNamesShort() public méthode

Returns [in JavaScript] the current "monthNamesShort" setting.
public GetMonthNamesShort ( ) : void
Résultat void

GetNavigationAsDateFormat() public méthode

Returns [in JavaScript] the current "navigationAsDateFormat" setting.
public GetNavigationAsDateFormat ( ) : void
Résultat void

GetNextText() public méthode

Returns [in JavaScript] the current "nextText" setting.
public GetNextText ( ) : void
Résultat void

GetNumberOfMonths() public méthode

Returns [in JavaScript] the current "numberOfMonths" setting.
public GetNumberOfMonths ( ) : void
Résultat void

GetPrevText() public méthode

Returns [in JavaScript] the current "prevText" setting.
public GetPrevText ( ) : void
Résultat void

GetSelectOtherMonths() public méthode

Returns [in JavaScript] the current "selectOtherMonths" setting.
public GetSelectOtherMonths ( ) : void
Résultat void

GetShortYearCutoff() public méthode

Returns [in JavaScript] the current "shortYearCutoff" setting.
public GetShortYearCutoff ( ) : void
Résultat void

GetShowAnim() public méthode

Returns [in JavaScript] the current "showAnim" setting.
public GetShowAnim ( ) : void
Résultat void

GetShowButtonPanel() public méthode

Returns [in JavaScript] the current "showButtonPanel" setting.
public GetShowButtonPanel ( ) : void
Résultat void

GetShowCurrentAtPos() public méthode

Returns [in JavaScript] the current "showCurrentAtPos" setting.
public GetShowCurrentAtPos ( ) : void
Résultat void

GetShowMonthAfterYear() public méthode

Returns [in JavaScript] the current "showMonthAfterYear" setting.
public GetShowMonthAfterYear ( ) : void
Résultat void

GetShowOn() public méthode

Returns [in JavaScript] the current "showOn" setting.
public GetShowOn ( ) : void
Résultat void

GetShowOptions() public méthode

If using one of the jQuery UI effects for showAnim, you can provide additional settings for that animation via this option.
public GetShowOptions ( ) : void
Résultat void

GetShowOtherMonths() public méthode

Returns [in JavaScript] the current "showOtherMonths" setting.
public GetShowOtherMonths ( ) : void
Résultat void

GetShowWeek() public méthode

Returns [in JavaScript] the current "showWeek" setting.
public GetShowWeek ( ) : void
Résultat void

GetStepMonths() public méthode

Returns [in JavaScript] the current "stepMonths" setting.
public GetStepMonths ( ) : void
Résultat void

GetWeekHeader() public méthode

Returns [in JavaScript] the current "weekHeader" setting.
public GetWeekHeader ( ) : void
Résultat void

GetYearRange() public méthode

Returns [in JavaScript] the current "yearRange" setting.
public GetYearRange ( ) : void
Résultat void

GetYearSuffix() public méthode

Returns [in JavaScript] the current "yearSuffix" setting.
public GetYearSuffix ( ) : void
Résultat void

Hide() public méthode

Close a previously opened date picker.
public Hide ( ) : void
Résultat void

IsDisabled() public méthode

Determines if the datepicker is disabled
public IsDisabled ( ) : void
Résultat void

Methods() public méthode

Constructor
public Methods ( Fluqi.Widget.jDatePicker.DatePicker dp ) : System
dp Fluqi.Widget.jDatePicker.DatePicker DatePicker object to call
Résultat System

Refresh() public méthode

Redraw a date picker, after having made some external modifications.
public Refresh ( ) : void
Résultat void

SetAltField() public méthode

The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the altFormat setting to change the format of the date within this field. Leave as blank for no alternate field.
public SetAltField ( string newValue ) : void
newValue string New altField setting
Résultat void

SetAltField() public méthode

The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the altFormat setting to change the format of the date within this field. Leave as blank for no alternate field.
public SetAltField ( string newValue, bool inDoubleQuotes ) : void
newValue string New altField setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetAltFieldJS() public méthode

The jQuery selector for another field that is to be updated with the selected date from the datepicker. Use the altFormat setting to change the format of the date within this field. Leave as blank for no alternate field. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetAltFieldJS ( string newValue ) : void
newValue string New altField setting
Résultat void

SetAltFormat() public méthode

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 the formatDate function
public SetAltFormat ( string newValue ) : void
newValue string New altFormat setting
Résultat void

SetAltFormat() public méthode

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 the formatDate function
public SetAltFormat ( string newValue, bool inDoubleQuotes ) : void
newValue string New altFormat setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetAltFormatJS() public méthode

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 the formatDate function. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetAltFormatJS ( string newValue ) : void
newValue string New altFormat setting
Résultat void

SetAppendText() public méthode

The text to display after each date field, e.g. to show the required format.
public SetAppendText ( string newValue ) : void
newValue string New appendText setting
Résultat void

SetAppendText() public méthode

The text to display after each date field, e.g. to show the required format.
public SetAppendText ( string newValue, bool inDoubleQuotes ) : void
newValue string New appendText setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetAppendTextJS() public méthode

The text to display after each date field, e.g. to show the required format. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetAppendTextJS ( string newValue ) : void
newValue string New appendText setting
Résultat void

SetAutoSize() public méthode

Set to true to automatically resize the input field to accommodate dates in the current dateFormat.
public SetAutoSize ( bool newValue ) : void
newValue bool New autoSize setting
Résultat void

SetButtonImage() public méthode

The URL for the popup button image. If set, buttonText becomes the alt value and is not directly displayed.
public SetButtonImage ( string newValue ) : void
newValue string New buttonImage setting
Résultat void

SetButtonImage() public méthode

The URL for the popup button image. If set, buttonText becomes the alt value and is not directly displayed.
public SetButtonImage ( string newValue, bool inDoubleQuotes ) : void
newValue string New buttonImage setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetButtonImageJS() public méthode

The URL for the popup button image. If set, buttonText becomes the alt value and is not directly displayed. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetButtonImageJS ( string newValue ) : void
newValue string New buttonImage setting
Résultat void

SetButtonImageOnly() public méthode

Set to true to place an image after the field to use as the trigger without it appearing on a button.
public SetButtonImageOnly ( bool newValue ) : void
newValue bool New buttonImageOnly setting
Résultat void

SetButtonText() public méthode

The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'.
public SetButtonText ( string newValue ) : void
newValue string New buttonText setting
Résultat void

SetButtonText() public méthode

The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'.
public SetButtonText ( string newValue, bool inDoubleQuotes ) : void
newValue string New buttonText setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetButtonTextJS() public méthode

The text to display on the trigger button. Use in conjunction with showOn equal to 'button' or 'both'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetButtonTextJS ( string newValue ) : void
newValue string New buttonText setting
Résultat void

SetCalculateWeek() public méthode

A function to calculate the week of the year for a given date. The default implementation uses the ISO 8601 definition: weeks start on a Monday; the first week of the year contains the first Thursday of the year. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetCalculateWeek ( string newValue ) : void
newValue string New calculateWeek setting
Résultat void

SetCalculateWeekJS() public méthode

A function to calculate the week of the year for a given date. The default implementation uses the ISO 8601 definition: weeks start on a Monday; the first week of the year contains the first Thursday of the year. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetCalculateWeekJS ( string newValue ) : void
newValue string New calculateWeek setting
Résultat void

SetChangeMonth() public méthode

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 SetChangeMonth ( bool newValue ) : void
newValue bool New changeMonth setting
Résultat void

SetChangeYear() public méthode

Allows you to change the year by selecting from a drop-down list. You can enable this feature by setting the attribute to true. Use the yearRange option to control which years are made available for selection.
public SetChangeYear ( bool newValue ) : void
newValue bool New changeYear setting
Résultat void

SetCloseText() public méthode

The text to display for the close link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.
public SetCloseText ( string newValue ) : void
newValue string New closeText setting
Résultat void

SetCloseText() public méthode

The text to display for the close link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button.
public SetCloseText ( string newValue, bool inDoubleQuotes ) : void
newValue string New closeText setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetCloseTextJS() public méthode

The text to display for the close link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetCloseTextJS ( string newValue ) : void
newValue string New closeText setting
Résultat void

SetConstrainInput() public méthode

When true entry in the input field is constrained to those characters allowed by the current dateFormat.
public SetConstrainInput ( bool newValue ) : void
newValue bool New constraintInput setting
Résultat void

SetCurrentText() public méthode

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 SetCurrentText ( string newValue ) : void
newValue string New currentText setting
Résultat void

SetCurrentText() public méthode

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 SetCurrentText ( string newValue, bool inDoubleQuotes ) : void
newValue string New currentText setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetCurrentTextJS() public méthode

The text to display for the current day link. This attribute is one of the regionalisation attributes. Use the showButtonPanel to display this button. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetCurrentTextJS ( string newValue ) : void
newValue string New currentText setting
Résultat void

SetDate() public méthode

Sets the current date for the datepicker. The new date is a .NET Date object which is converted the JavaScript equivalent (using the jQuery parseDate helper function).
public SetDate ( System.DateTime dt ) : void
dt System.DateTime
Résultat void

SetDateFormat() public méthode

The format for parsed and displayed dates. This attribute is one of the regionalisation attributes. For a full list of the possible formats see the formatDate function.
public SetDateFormat ( string newValue ) : void
newValue string New dateFormat setting
Résultat void

SetDateFormat() public méthode

The format for parsed and displayed dates. This attribute is one of the regionalisation attributes. For a full list of the possible formats see the formatDate function.
public SetDateFormat ( string newValue, bool inDoubleQuotes ) : void
newValue string New dateFormat setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetDateFormatJS() public méthode

The format for parsed and displayed dates. This attribute is one of the regionalisation attributes. For a full list of the possible formats see the formatDate function. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetDateFormatJS ( string newValue ) : void
newValue string New dateFormat setting
Résultat void

SetDayNames() public méthode

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 SetDayNames ( ) : void
Résultat void

SetDayNames() public méthode

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 SetDayNames ( List newValues ) : void
newValues List New dayNames setting
Résultat void

SetDayNamesMin() public méthode

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 SetDayNamesMin ( ) : void
Résultat void

SetDayNamesMin() public méthode

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 SetDayNamesMin ( List newValues ) : void
newValues List New dayNamesMin setting
Résultat void

SetDayNamesShort() public méthode

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 SetDayNamesShort ( ) : void
Résultat void

SetDayNamesShort() public méthode

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 SetDayNamesShort ( List newValues ) : void
newValues List New dayNamesShort setting
Résultat void

SetDefaultDate() public méthode

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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.
public SetDefaultDate ( System.DateTime newValue ) : void
newValue System.DateTime New defaultDate setting
Résultat void

SetDefaultDate() public méthode

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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.
public SetDefaultDate ( int newValue ) : void
newValue int New defaultDate setting
Résultat void

SetDefaultDate() public méthode

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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.
public SetDefaultDate ( string newValue ) : void
newValue string New defaultDate setting
Résultat void

SetDefaultDate() public méthode

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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.
public SetDefaultDate ( string newValue, bool inDoubleQuotes ) : void
newValue string New defaultDate setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetDefaultDateJS() public méthode

Set the date to highlight on first opening if the field is blank. Specify either an actual date via a Date object or as a string in the current dateFormat, 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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetDefaultDateJS ( string newValue ) : void
newValue string New defaultDate setting
Résultat void

SetDuration() public méthode

Control the speed at which the datepicker appears,
public SetDuration ( Core speed ) : void
speed Core One of the three predefined speeds ("slow", "normal", "fast").
Résultat void

SetDuration() public méthode

Control the speed at which the datepicker appears, Duration in milliseconds
public SetDuration ( int newValue ) : void
newValue int Duration in milliseconds
Résultat void

SetDuration() public méthode

Control the speed at which the datepicker appears, using one of the inbuilt constants of "slow", "normal" or "fast"
public SetDuration ( string newValue ) : void
newValue string Duration in milliseconds
Résultat void

SetFirstDay() public méthode

Set the first day of the week: Sunday is 0, Monday is 1, ... This attribute is one of the regionalisation attributes.
public SetFirstDay ( int newValue ) : void
newValue int New firstDay setting
Résultat void

SetGotoCurrent() public méthode

When true the current day link moves to the currently selected date instead of today.
public SetGotoCurrent ( bool newValue ) : void
newValue bool New gotoCurrent setting
Résultat void

SetHideIfNoPrevNext() public méthode

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 SetHideIfNoPrevNext ( bool newValue ) : void
newValue bool New hideIfNoPrevNext setting
Résultat void

SetIsRTL() public méthode

True if the current language is drawn from right to left. This attribute is one of the regionalisation attributes.
public SetIsRTL ( bool newValue ) : void
newValue bool New isRTL setting
Résultat void

SetMaxDate() public méthode

Set a maximum selectable date via a Date object.
public SetMaxDate ( System.DateTime newValue ) : void
newValue System.DateTime New maxDate setting
Résultat void

SetMaxDate() public méthode

Set a maximum selectable date as a number of days from today (e.g. +7)
public SetMaxDate ( int newValue ) : void
newValue int New maxDate setting
Résultat void

SetMaxDate() public méthode

Set a maximum selectable date as 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 SetMaxDate ( string newValue ) : void
newValue string New maxDate setting
Résultat void

SetMaxDateJS() public méthode

Set a maximum selectable date as 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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetMaxDateJS ( string newValue ) : void
newValue string New maxDate setting
Résultat void

SetMinDate() public méthode

Set a minimum selectable date via a Date object.
public SetMinDate ( System.DateTime newValue ) : void
newValue System.DateTime New minDate setting
Résultat void

SetMinDate() public méthode

Set a minimum selectable date via number of days from today (e.g. +7).
public SetMinDate ( int newValue ) : void
newValue int New minDate setting
Résultat void

SetMinDate() public méthode

Set a minimum selectable date via 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 SetMinDate ( string newValue ) : void
newValue string New minDate setting
Résultat void

SetMinDate() public méthode

Set a minimum selectable date via 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 SetMinDate ( string newValue, bool inDoubleQuotes ) : void
newValue string New minDate setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetMinDateJS() public méthode

Set a minimum selectable date via 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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetMinDateJS ( string newValue ) : void
newValue string New minDate setting
Résultat void

SetMonthNames() public méthode

The list of full month names, for use as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.
public SetMonthNames ( ) : void
Résultat void

SetMonthNames() public méthode

The list of full month names, for use as requested via the dateFormat setting. This attribute is one of the regionalisation attributes.
public SetMonthNames ( List newValues ) : void
newValues List New monthNames setting
Résultat void

SetMonthNamesShort() public méthode

The list of abbreviated 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 SetMonthNamesShort ( ) : void
Résultat void

SetMonthNamesShort() public méthode

The list of abbreviated 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 SetMonthNamesShort ( List newValues ) : void
newValues List New monthNamesShort setting
Résultat void

SetNavigationAsDateFormat() public méthode

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 SetNavigationAsDateFormat ( bool newValue ) : void
newValue bool New navigationAsDateFormat setting
Résultat void

SetNextText() public méthode

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 SetNextText ( string newValue ) : void
newValue string New nextText setting
Résultat void

SetNextText() public méthode

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 SetNextText ( string newValue, bool inDoubleQuotes ) : void
newValue string New nextText setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetNextTextJS() public méthode

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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetNextTextJS ( string newValue ) : void
newValue string New nextText setting
Résultat void

SetNumberOfMonths() public méthode

Set how many months to show at once. or can be a two-element array to define the number of rows and columns to display
public SetNumberOfMonths ( int newValue ) : void
newValue int New numberOfMonths setting
Résultat void

SetNumberOfMonths() public méthode

Set how many months to show at once.
public SetNumberOfMonths ( int numRows, int numCols ) : void
numRows int Number of rows
numCols int Number of columns
Résultat void

SetPrevText() public méthode

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 SetPrevText ( string newValue ) : void
newValue string New prevText setting
Résultat void

SetPrevText() public méthode

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 SetPrevText ( string newValue, bool inDoubleQuotes ) : void
newValue string New prevText setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetPrevTextJS() public méthode

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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetPrevTextJS ( string newValue ) : void
newValue string New prevText setting
Résultat void

SetSelectOtherMonths() public méthode

When true days in other months shown before or after the current month are selectable. This only applies if showOtherMonths is also true
public SetSelectOtherMonths ( bool newValue ) : void
newValue bool New selectOtherMonths setting
Résultat void

SetShortYearCutoff() public méthode

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 SetShortYearCutoff ( int newValue ) : void
newValue int New shortYearCutoff setting
Résultat void

SetShortYearCutoff() public méthode

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 SetShortYearCutoff ( string newValue ) : void
newValue string New shortYearCutoff setting
Résultat void

SetShortYearCutoff() public méthode

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 SetShortYearCutoff ( string newValue, bool inDoubleQuotes ) : void
newValue string New shortYearCutoff setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetShortYearCutoffJS() public méthode

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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetShortYearCutoffJS ( string newValue ) : void
newValue string New shortYearCutoff setting
Résultat void

SetShowAnim() public méthode

Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation
public SetShowAnim ( Core animation ) : void
animation Core New showAnim setting
Résultat void

SetShowAnim() public méthode

Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation
public SetShowAnim ( string newValue ) : void
newValue string New showAnim setting
Résultat void

SetShowAnim() public méthode

Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation
public SetShowAnim ( string newValue, bool inDoubleQuotes ) : void
newValue string New showAnim setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetShowAnimJS() public méthode

Set the name of the animation used to show/hide the datepicker. Use 'show' (the default), 'slideDown', 'fadeIn', any of the show/hide jQuery UI effects, or '' for no animation This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetShowAnimJS ( string newValue ) : void
newValue string New showAnim setting
Résultat void

SetShowButtonPanel() public méthode

Whether to show the button panel.
public SetShowButtonPanel ( bool newValue ) : void
newValue bool New showButtonPanel setting
Résultat void

SetShowCurrentAtPos() public méthode

Specify where in a multi-month display the current month shows, starting from 0 at the top/left
public SetShowCurrentAtPos ( int newValue ) : void
newValue int New showCurrentAtPos setting
Résultat void

SetShowMonthAfterYear() public méthode

Whether to show the month after the year in the header. This attribute is one of the regionalisation attributes.
public SetShowMonthAfterYear ( bool newValue ) : void
newValue bool New showMonthAfterYear setting
Résultat void

SetShowOnButton() public méthode

Have the datepicker appear automatically when a button is clicked.
public SetShowOnButton ( ) : void
Résultat void

SetShowOnFocus() public méthode

Have the datepicker appear automatically when the field receives focus
public SetShowOnFocus ( ) : void
Résultat void

SetShowOnFocusOrButton() public méthode

Have the datepicker appear automatically when the field receives focus or when a button is clicked ('button').
public SetShowOnFocusOrButton ( ) : void
Résultat void

SetShowOptions() public méthode

If using one of the jQuery UI effects for showAnim, you can provide additional settings for that animation via this option.
public SetShowOptions ( string newValue ) : void
newValue string New showOptions setting
Résultat void

SetShowOtherMonths() public méthode

Display dates in other months (non-selectable) at the start or end of the current month. To make these days selectable use selectOtherMonths.
public SetShowOtherMonths ( bool newValue ) : void
newValue bool New showOtherMonths setting
Résultat void

SetShowWeek() public méthode

When true a column is added to show the week of the year. The calculateWeek option determines how the week of the year is calculated. You may also want to change the firstDay option.
public SetShowWeek ( bool newValue ) : void
newValue bool New showWeek setting
Résultat void

SetStepMonths() public méthode

Set how many months to move when clicking the Previous/Next links
public SetStepMonths ( int newValue ) : void
newValue int New stepMonths setting
Résultat void

SetWeekHeader() public méthode

The text to display for the week of the year column heading. This attribute is one of the regionalisation attributes. Use showWeek to display this column.
public SetWeekHeader ( string newValue ) : void
newValue string New weekHeader setting
Résultat void

SetWeekHeader() public méthode

The text to display for the week of the year column heading. This attribute is one of the regionalisation attributes. Use showWeek to display this column.
public SetWeekHeader ( string newValue, bool inDoubleQuotes ) : void
newValue string New weekHeader setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetWeekHeaderJS() public méthode

The text to display for the week of the year column heading. This attribute is one of the regionalisation attributes. Use showWeek to display this column. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetWeekHeaderJS ( string newValue ) : void
newValue string New weekHeader setting
Résultat void

SetYearRange() public méthode

Control 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.
public SetYearRange ( string newValue ) : void
newValue string New yearRange setting
Résultat void

SetYearRange() public méthode

Control 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.
public SetYearRange ( string newValue, bool inDoubleQuotes ) : void
newValue string New yearRange setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetYearRange() public méthode

Control 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.
public SetYearRange ( string lowerRange, string upperRange ) : void
lowerRange string Lower range for year dropdown
upperRange string Upper range for year dropdown
Résultat void

SetYearRangeJS() public méthode

Control 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. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetYearRangeJS ( string newValue ) : void
newValue string New yearRange setting
Résultat void

SetYearSuffix() public méthode

Additional text to display after the year in the month headers. This attribute is one of the regionalisation attributes.
public SetYearSuffix ( string newValue ) : void
newValue string New yearSuffix setting
Résultat void

SetYearSuffix() public méthode

Additional text to display after the year in the month headers. This attribute is one of the regionalisation attributes.
public SetYearSuffix ( string newValue, bool inDoubleQuotes ) : void
newValue string New yearSuffix setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Résultat void

SetYearSuffixJS() public méthode

Additional text to display after the year in the month headers. This attribute is one of the regionalisation attributes. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetYearSuffixJS ( string newValue ) : void
newValue string New yearSuffix setting
Résultat void

Show() public méthode

Call up a previously attached date picker.
public Show ( ) : void
Résultat void

Widget() public méthode

Returns the .ui-datepicker element.
public Widget ( ) : void
Résultat void