Version

WebDateTimeEditor class Members

The following tables list the members exposed by WebDateTimeEditor.

Public Constructors
 NameDescription
Public ConstructorWebDateTimeEditor Constructor  
Public Properties
 NameDescription
Public PropertyamGets sets string 2 characters long which represents AM. Note: new value does not persist to server. AM string  
Public PropertyautoPostBackOnCustomButtonClickGets sets option to trigger postback on CustomButton click. Not 0 value means that full (1) or async (2) postback will be raised when Enter key is pressed. Note: new value does not persist to server. True: postback on button click (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyautoPostBackOnEnterKeyDownGets sets option to trigger postback when Enter key was pressed. Not 0 value means that full (1) or async (2) postback will be raised when Enter key is pressed. Note: new value does not persist to server. True: postback on enter key (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyautoPostBackOnValueChangeGets sets option to trigger postback when value was changed (after lost focus or similar). Not 0 value means that full (1) or async (2) postback will be raised when Enter key is pressed. Note: new value does not persist to server. True: postback on value change (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertycenturyThresholdGets sets year which is used to separate dates which belong to 20th or 21st century, when user entered less than 3 digits in year field. Note: new value does not persist to server. Year  
Public PropertydataModeGets DataMode of editor. Integer value which matches with corresponding enum on server. Data mode (Inherited from Infragistics.Web.UI.WebMaskEditor)
Public PropertydateGets value in editor as Date. Value in control  
Public PropertyemptyCharGets sets empty-position character. String with length of 1. Note: new value does not persist to server. Empty position character (Inherited from Infragistics.Web.UI.WebMaskEditor)
Public PropertyenabledGets sets enabled state of control.True: enabled (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyhideEnterGets sets option to hide the Enter keydown event from browser. Note: new value does not persist to server. True: hide enter key (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyinputElementGets reference to edit field. Reference to INPUT or TEXTAREA html element. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyinputMaskGets sets input mask. Notes: 1. Mask-flag-characters such as "#,0,9,A,C,L,a,?,amper,greater,smaller" are the same as on server. 2. If mask is modified, then old raw value (value without literal characters) is set to new raw value in editor with new mask. Example: - Old mask is "(000)(???)(000)". - Old value is "(123)(abc)(456)", where raw value is "123abc456". - New mask is "000-???-?0". - New value will be "123-abc-_5". Input mask (Inherited from Infragistics.Web.UI.WebMaskEditor)
Public PropertymaxLengthGets sets maximum length of text. Value of 0, means that maximum length is not set. Note: new value does not persist to server. Maximum length (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertymaxValueGets sets maximum value. Note: new value does not persist to server. Maximum date  
Public PropertyminimumNumberOfValidFieldsGets sets minimum number of fields entered by user in order to consider date as valid. Missing fields are filled internally. Note: new value does not persist to server. Number of fields  
Public PropertyminValueGets sets minimum value. Note: new value does not persist to server. Minimum date  
Public PropertynullableGets sets option to allow null date. Note: new value does not persist to server. True: value can be null  
Public PropertynullTextGets sets text which is used when value is not set (null or empty string) and control has no focus. Note: new value does not persist to server. Text for null value (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertypadCharGets sets pad character. String with length of 1. Note: new value does not persist to server. Pad character (Inherited from Infragistics.Web.UI.WebMaskEditor)
Public PropertypmGets sets string 2 characters long which represents PM. Note: new value does not persist to server. PM string  
Public PropertypromptCharGets sets prompt character. String with length of 1. Note: new value does not persist to server. Prompt character (Inherited from Infragistics.Web.UI.WebMaskEditor)
Public PropertyreadOnlyGets sets read-only state of control.True: read only (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyselectionOnFocusGets sets option which is used for selection when control gets focus. Note: new value does not persist to server. Possible values: 0 - select all text, 1 - unselect all and set caret to the beginning, 2 - unselect all and set caret to the end, 3 - browser default. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyspinDelayGets sets value in milliseconds which is used to delay next spin action when spin button is kept pressed. Note: new value does not persist to server. Delay in milliseconds (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyspinDeltaGets sets value which is used to increment decrement value in control on spin events. Note: new value does not persist to server. Spin delta  
Public PropertyspinDownElementGets reference to lower spin button. Reference to TD html element or null. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyspinEnsureFocusGets sets ability to set input focus to control when buttons are clicked. Note: new value does not persist to server. True: ensure focus on spin (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyspinOnArrowsGets sets ability of up/down arrow keys to trigger spin actions. Note: new value does not persist to server. True: spin on arrows (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyspinOnReadOnlyGets sets ability to modify value in controls by spin actions when read only is enabled. Note: new value does not persist to server. True: spin on read only (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyspinSpeedUpGets sets rate to increase frequency of spin events if spin button is kept pressed. Note: new value does not persist to server. Speed up rate on spin (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyspinUpElementGets reference to upper spin button. Reference to TD html element or null. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertytextGets sets text in control.Current text (Inherited from Infragistics.Web.UI.WebTextEditor)
Public PropertyuseLastGoodDateGets sets option to use last good date, when invalid date was entered. Note: new value does not persist to server. True: last date is used  
Public PropertyvalueGets value in editor according to DataMode.  
Public Methods
 NameDescription
Public MethoddisposeDisposes object and event handlers. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodfindFinds WebTextEditor by its client ID. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodfocusSes input focus to control with delay. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodfromCasts passed in object to the WebTextEditor type. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodgetDowNameAtGets string which represents name of day of the week.  
Public MethodgetMonthNameAtGets string which represents name of month.  
Public MethodgetSelectedTextGets selected text. It also calculates internal variable for end and start selection. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodgetSelectionGets position of start or end selection. Note: that method calls getSelectedText(). (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodgetSpinButtonIDGets index of spin button which is involved in current mouse event of browser. That can be used while processing mouse events of control. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodgetValueByModeGets value according to DataMode.  
Public MethodhasFocusChecks if control has input focus. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodinitializeInitializes instance of WebDateTimeEditor.  
Public MethodpasteTriggers paste action in control. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodselectSets selection and caret position in control. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodsetDowNameAtSets string which represents name of day of the week. Note: new value does not persist to server.  
Public MethodsetFocusSes input focus to control without delay. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodsetMonthNameAtSets string which represents name of month. Note: new value does not persist to server.  
Public MethodspinTriggers spin event.  
See Also