C# Класс 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).
Наследование: Core.Methods
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Destroy() публичный Метод

Remove the datepicker functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
Результат void

Dialog() публичный Метод

Open a datepicker in a "dialog" box.
public Dialog ( System.DateTime date ) : void
date System.DateTime Initial date for the date picker as Date.
Результат void

Dialog() публичный Метод

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. ///
Результат void

Dialog() публичный Метод

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.
Результат void

Dialog() публичный Метод

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.
Результат void

Dialog() публичный Метод

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.
Результат void

Dialog() публичный Метод

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. ///
Результат void

Dialog() публичный Метод

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.
Результат void

Dialog() публичный Метод

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.
Результат void

Disable() публичный Метод

Disable the datepicker.
public Disable ( ) : void
Результат void

Enable() публичный Метод

Enable the datepicker.
public Enable ( ) : void
Результат void

GetAltField() публичный Метод

Returns [in JavaScript] the current "altField" setting.
public GetAltField ( ) : void
Результат void

GetAltFormat() публичный Метод

Returns [in JavaScript] the current "altFormat" setting.
public GetAltFormat ( ) : void
Результат void

GetAppendText() публичный Метод

Returns [in JavaScript] the current "appendText" setting.
public GetAppendText ( ) : void
Результат void

GetAutoSize() публичный Метод

Returns [in JavaScript] the current "autoSize" setting.
public GetAutoSize ( ) : void
Результат void

GetButtonImage() публичный Метод

Returns [in JavaScript] the current "buttonImage" setting.
public GetButtonImage ( ) : void
Результат void

GetButtonImageOnly() публичный Метод

Returns [in JavaScript] the current "buttonImageOnly" setting.
public GetButtonImageOnly ( ) : void
Результат void

GetButtonText() публичный Метод

Returns [in JavaScript] the current "buttonText" setting.
public GetButtonText ( ) : void
Результат void

GetCalculateWeek() публичный Метод

Returns [in JavaScript] the current "calculateWeek" setting.
public GetCalculateWeek ( ) : void
Результат void

GetChangeMonth() публичный Метод

Returns [in JavaScript] the current "changeMonth" setting.
public GetChangeMonth ( ) : void
Результат void

GetChangeYear() публичный Метод

Returns [in JavaScript] the current "changeYear" setting.
public GetChangeYear ( ) : void
Результат void

GetCloseText() публичный Метод

Returns [in JavaScript] the current "closeText" setting.
public GetCloseText ( ) : void
Результат void

GetConstrainInput() публичный Метод

Returns [in JavaScript] the current "constraintInput" setting.
public GetConstrainInput ( ) : void
Результат void

GetCurrentText() публичный Метод

Returns [in JavaScript] the current "currentText" setting.
public GetCurrentText ( ) : void
Результат void

GetDate() публичный Метод

Returns the current date for the datepicker or null if no date has been selected.
public GetDate ( ) : void
Результат void

GetDateFormat() публичный Метод

Returns [in JavaScript] the current "dateFormat" setting.
public GetDateFormat ( ) : void
Результат void

GetDayNames() публичный Метод

Returns [in JavaScript] the current "dayNames" setting.
public GetDayNames ( ) : void
Результат void

GetDayNamesMin() публичный Метод

Returns [in JavaScript] the current "dayNamesMin" setting.
public GetDayNamesMin ( ) : void
Результат void

GetDayNamesShort() публичный Метод

Returns [in JavaScript] the current "dayNamesShort" setting.
public GetDayNamesShort ( ) : void
Результат void

GetDefaultDate() публичный Метод

Returns [in JavaScript] the current "defaultDate" setting.
public GetDefaultDate ( ) : void
Результат void

GetDuration() публичный Метод

Returns [in JavaScript] the current "duration" setting.
public GetDuration ( ) : void
Результат void

GetFirstDay() публичный Метод

Returns [in JavaScript] the current "firstDay" setting.
public GetFirstDay ( ) : void
Результат void

GetGotoCurrent() публичный Метод

Returns [in JavaScript] the current "gotoCurrent" setting.
public GetGotoCurrent ( ) : void
Результат void

GetHideIfNoPrevNext() публичный Метод

Returns [in JavaScript] the current "hideIfNoPrevNext" setting.
public GetHideIfNoPrevNext ( ) : void
Результат void

GetIsRTL() публичный Метод

Returns [in JavaScript] the current "isRTL" setting.
public GetIsRTL ( ) : void
Результат void

GetMaxDate() публичный Метод

Returns [in JavaScript] the current "maxDate" setting.
public GetMaxDate ( ) : void
Результат void

GetMinDate() публичный Метод

Returns [in JavaScript] the current "minDate" setting.
public GetMinDate ( ) : void
Результат void

GetMonthNames() публичный Метод

Returns [in JavaScript] the current "monthNames" setting.
public GetMonthNames ( ) : void
Результат void

GetMonthNamesShort() публичный Метод

Returns [in JavaScript] the current "monthNamesShort" setting.
public GetMonthNamesShort ( ) : void
Результат void

GetNavigationAsDateFormat() публичный Метод

Returns [in JavaScript] the current "navigationAsDateFormat" setting.
public GetNavigationAsDateFormat ( ) : void
Результат void

GetNextText() публичный Метод

Returns [in JavaScript] the current "nextText" setting.
public GetNextText ( ) : void
Результат void

GetNumberOfMonths() публичный Метод

Returns [in JavaScript] the current "numberOfMonths" setting.
public GetNumberOfMonths ( ) : void
Результат void

GetPrevText() публичный Метод

Returns [in JavaScript] the current "prevText" setting.
public GetPrevText ( ) : void
Результат void

GetSelectOtherMonths() публичный Метод

Returns [in JavaScript] the current "selectOtherMonths" setting.
public GetSelectOtherMonths ( ) : void
Результат void

GetShortYearCutoff() публичный Метод

Returns [in JavaScript] the current "shortYearCutoff" setting.
public GetShortYearCutoff ( ) : void
Результат void

GetShowAnim() публичный Метод

Returns [in JavaScript] the current "showAnim" setting.
public GetShowAnim ( ) : void
Результат void

GetShowButtonPanel() публичный Метод

Returns [in JavaScript] the current "showButtonPanel" setting.
public GetShowButtonPanel ( ) : void
Результат void

GetShowCurrentAtPos() публичный Метод

Returns [in JavaScript] the current "showCurrentAtPos" setting.
public GetShowCurrentAtPos ( ) : void
Результат void

GetShowMonthAfterYear() публичный Метод

Returns [in JavaScript] the current "showMonthAfterYear" setting.
public GetShowMonthAfterYear ( ) : void
Результат void

GetShowOn() публичный Метод

Returns [in JavaScript] the current "showOn" setting.
public GetShowOn ( ) : void
Результат void

GetShowOptions() публичный Метод

If using one of the jQuery UI effects for showAnim, you can provide additional settings for that animation via this option.
public GetShowOptions ( ) : void
Результат void

GetShowOtherMonths() публичный Метод

Returns [in JavaScript] the current "showOtherMonths" setting.
public GetShowOtherMonths ( ) : void
Результат void

GetShowWeek() публичный Метод

Returns [in JavaScript] the current "showWeek" setting.
public GetShowWeek ( ) : void
Результат void

GetStepMonths() публичный Метод

Returns [in JavaScript] the current "stepMonths" setting.
public GetStepMonths ( ) : void
Результат void

GetWeekHeader() публичный Метод

Returns [in JavaScript] the current "weekHeader" setting.
public GetWeekHeader ( ) : void
Результат void

GetYearRange() публичный Метод

Returns [in JavaScript] the current "yearRange" setting.
public GetYearRange ( ) : void
Результат void

GetYearSuffix() публичный Метод

Returns [in JavaScript] the current "yearSuffix" setting.
public GetYearSuffix ( ) : void
Результат void

Hide() публичный Метод

Close a previously opened date picker.
public Hide ( ) : void
Результат void

IsDisabled() публичный Метод

Determines if the datepicker is disabled
public IsDisabled ( ) : void
Результат void

Methods() публичный Метод

Constructor
public Methods ( Fluqi.Widget.jDatePicker.DatePicker dp ) : System
dp Fluqi.Widget.jDatePicker.DatePicker DatePicker object to call
Результат System

Refresh() публичный Метод

Redraw a date picker, after having made some external modifications.
public Refresh ( ) : void
Результат void

SetAltField() публичный Метод

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
Результат void

SetAltField() публичный Метод

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 (') ///
Результат void

SetAltFieldJS() публичный Метод

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
Результат void

SetAltFormat() публичный Метод

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
Результат void

SetAltFormat() публичный Метод

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 (') ///
Результат void

SetAltFormatJS() публичный Метод

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
Результат void

SetAppendText() публичный Метод

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
Результат void

SetAppendText() публичный Метод

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 (') ///
Результат void

SetAppendTextJS() публичный Метод

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
Результат void

SetAutoSize() публичный Метод

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
Результат void

SetButtonImage() публичный Метод

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
Результат void

SetButtonImage() публичный Метод

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 (') ///
Результат void

SetButtonImageJS() публичный Метод

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
Результат void

SetButtonImageOnly() публичный Метод

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
Результат void

SetButtonText() публичный Метод

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
Результат void

SetButtonText() публичный Метод

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 (') ///
Результат void

SetButtonTextJS() публичный Метод

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
Результат void

SetCalculateWeek() публичный Метод

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
Результат void

SetCalculateWeekJS() публичный Метод

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
Результат void

SetChangeMonth() публичный Метод

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
Результат void

SetChangeYear() публичный Метод

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
Результат void

SetCloseText() публичный Метод

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
Результат void

SetCloseText() публичный Метод

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 (') ///
Результат void

SetCloseTextJS() публичный Метод

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
Результат void

SetConstrainInput() публичный Метод

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
Результат void

SetCurrentText() публичный Метод

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
Результат void

SetCurrentText() публичный Метод

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 (') ///
Результат void

SetCurrentTextJS() публичный Метод

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
Результат void

SetDate() публичный Метод

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
Результат void

SetDateFormat() публичный Метод

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
Результат void

SetDateFormat() публичный Метод

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 (') ///
Результат void

SetDateFormatJS() публичный Метод

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
Результат void

SetDayNames() публичный Метод

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
Результат void

SetDayNames() публичный Метод

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
Результат void

SetDayNamesMin() публичный Метод

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
Результат void

SetDayNamesMin() публичный Метод

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
Результат void

SetDayNamesShort() публичный Метод

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
Результат void

SetDayNamesShort() публичный Метод

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
Результат void

SetDefaultDate() публичный Метод

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
Результат void

SetDefaultDate() публичный Метод

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
Результат void

SetDefaultDate() публичный Метод

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
Результат void

SetDefaultDate() публичный Метод

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 (') ///
Результат void

SetDefaultDateJS() публичный Метод

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
Результат void

SetDuration() публичный Метод

Control the speed at which the datepicker appears,
public SetDuration ( Core speed ) : void
speed Core One of the three predefined speeds ("slow", "normal", "fast").
Результат void

SetDuration() публичный Метод

Control the speed at which the datepicker appears, Duration in milliseconds
public SetDuration ( int newValue ) : void
newValue int Duration in milliseconds
Результат void

SetDuration() публичный Метод

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
Результат void

SetFirstDay() публичный Метод

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
Результат void

SetGotoCurrent() публичный Метод

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
Результат void

SetHideIfNoPrevNext() публичный Метод

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
Результат void

SetIsRTL() публичный Метод

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
Результат void

SetMaxDate() публичный Метод

Set a maximum selectable date via a Date object.
public SetMaxDate ( System.DateTime newValue ) : void
newValue System.DateTime New maxDate setting
Результат void

SetMaxDate() публичный Метод

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
Результат void

SetMaxDate() публичный Метод

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
Результат void

SetMaxDateJS() публичный Метод

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
Результат void

SetMinDate() публичный Метод

Set a minimum selectable date via a Date object.
public SetMinDate ( System.DateTime newValue ) : void
newValue System.DateTime New minDate setting
Результат void

SetMinDate() публичный Метод

Set a minimum selectable date via number of days from today (e.g. +7).
public SetMinDate ( int newValue ) : void
newValue int New minDate setting
Результат void

SetMinDate() публичный Метод

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
Результат void

SetMinDate() публичный Метод

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 (') ///
Результат void

SetMinDateJS() публичный Метод

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
Результат void

SetMonthNames() публичный Метод

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
Результат void

SetMonthNames() публичный Метод

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
Результат void

SetMonthNamesShort() публичный Метод

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
Результат void

SetMonthNamesShort() публичный Метод

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
Результат void

SetNavigationAsDateFormat() публичный Метод

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
Результат void

SetNextText() публичный Метод

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
Результат void

SetNextText() публичный Метод

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 (') ///
Результат void

SetNextTextJS() публичный Метод

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
Результат void

SetNumberOfMonths() публичный Метод

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
Результат void

SetNumberOfMonths() публичный Метод

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
Результат void

SetPrevText() публичный Метод

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
Результат void

SetPrevText() публичный Метод

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 (') ///
Результат void

SetPrevTextJS() публичный Метод

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
Результат void

SetSelectOtherMonths() публичный Метод

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
Результат void

SetShortYearCutoff() публичный Метод

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
Результат void

SetShortYearCutoff() публичный Метод

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
Результат void

SetShortYearCutoff() публичный Метод

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 (') ///
Результат void

SetShortYearCutoffJS() публичный Метод

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
Результат void

SetShowAnim() публичный Метод

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
Результат void

SetShowAnim() публичный Метод

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
Результат void

SetShowAnim() публичный Метод

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 (') ///
Результат void

SetShowAnimJS() публичный Метод

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
Результат void

SetShowButtonPanel() публичный Метод

Whether to show the button panel.
public SetShowButtonPanel ( bool newValue ) : void
newValue bool New showButtonPanel setting
Результат void

SetShowCurrentAtPos() публичный Метод

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
Результат void

SetShowMonthAfterYear() публичный Метод

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
Результат void

SetShowOnButton() публичный Метод

Have the datepicker appear automatically when a button is clicked.
public SetShowOnButton ( ) : void
Результат void

SetShowOnFocus() публичный Метод

Have the datepicker appear automatically when the field receives focus
public SetShowOnFocus ( ) : void
Результат void

SetShowOnFocusOrButton() публичный Метод

Have the datepicker appear automatically when the field receives focus or when a button is clicked ('button').
public SetShowOnFocusOrButton ( ) : void
Результат void

SetShowOptions() публичный Метод

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
Результат void

SetShowOtherMonths() публичный Метод

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
Результат void

SetShowWeek() публичный Метод

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
Результат void

SetStepMonths() публичный Метод

Set how many months to move when clicking the Previous/Next links
public SetStepMonths ( int newValue ) : void
newValue int New stepMonths setting
Результат void

SetWeekHeader() публичный Метод

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
Результат void

SetWeekHeader() публичный Метод

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 (') ///
Результат void

SetWeekHeaderJS() публичный Метод

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
Результат void

SetYearRange() публичный Метод

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
Результат void

SetYearRange() публичный Метод

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 (') ///
Результат void

SetYearRange() публичный Метод

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
Результат void

SetYearRangeJS() публичный Метод

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
Результат void

SetYearSuffix() публичный Метод

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
Результат void

SetYearSuffix() публичный Метод

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 (') ///
Результат void

SetYearSuffixJS() публичный Метод

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
Результат void

Show() публичный Метод

Call up a previously attached date picker.
public Show ( ) : void
Результат void

Widget() публичный Метод

Returns the .ui-datepicker element.
public Widget ( ) : void
Результат void