Version

WebMaskEditor class Members

The following tables list the members exposed by WebMaskEditor.

Public Constructors
 NameDescription
Public ConstructorWebMaskEditor Constructor  
Public Properties
 NameDescription
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 PropertydataModeGets DataMode of editor. Integer value which matches with corresponding enum on server. Data mode  
Public PropertyemptyCharGets sets empty-position character. String with length of 1. Note: new value does not persist to server. Empty position character  
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  
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 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  
Public PropertypromptCharGets sets prompt character. String with length of 1. Note: new value does not persist to server. Prompt character  
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 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 PropertyvalueGets sets current value in editor according to DataMode.Value in control  
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 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 text according to DataMode.  
Public MethodhasFocusChecks if control has input focus. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodinitializeInitializes instance of WebMaskEditor.  
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 MethodsetFocusSes input focus to control without delay. (Inherited from Infragistics.Web.UI.WebTextEditor)
Public MethodspinTriggers spin event. (Inherited from Infragistics.Web.UI.WebTextEditor)
See Also