New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Definition

Namespace:Telerik.Web.UI

Inheritance: Telerik.Web.UI.RadInputControlTelerik.Web.UI.RadMaskedTextBox

Events

Adds a blur event handler for the radmaskedtextbox

JS
add_blur
Parameters:handlerFunction

The event handler function to attach

Adds a buttonClick event handler for the radmaskedtextbox

JS
add_buttonClick
Parameters:handlerFunction

The event handler function to attach

Adds a disable event handler for the radmaskedtextbox

JS
add_disable
Parameters:handlerFunction

The event handler function to attach

Adds a enable event handler for the radmaskedtextbox

JS
add_enable
Parameters:handlerFunction

The event handler function to attach

Adds a error event handler for the radmaskedtextbox

JS
add_error
Parameters:handlerFunction

The event handler function to attach

Adds a focus event handler for the radmaskedtextbox

JS
add_focus
Parameters:handlerFunction

The event handler function to attach

Adds a keyPress event handler for the radmaskedtextbox

JS
add_keyPress
Parameters:handlerFunction

The event handler function to attach

Adds a load event handler for the radmaskedtextbox

JS
add_load
Parameters:handlerFunction

The event handler function to attach

Adds a mouseOut event handler for the radmaskedtextbox

JS
add_mouseOut
Parameters:handlerFunction

The event handler function to attach

Adds a mouseOver event handler for the radmaskedtextbox

JS
add_mouseOver
Parameters:handlerFunction

The event handler function to attach

Adds a moveDown event handler for the radmaskedtextbox

JS
add_moveDown
Parameters:handlerFunction

The event handler function to attach

Adds a moveUp event handler for the radmaskedtextbox

JS
add_moveUp
Parameters:handlerFunction

The event handler function to attach

Adds a valueChanged event handler for the radmaskedtextbox

JS
add_valueChanged
Parameters:handlerFunction

The event handler function to attach

Adds a valueChanging event handler for the radmaskedtextbox

JS
add_valueChanging
Parameters:handlerFunction

The event handler function to attach

Removes a blur event handler from the radmaskedtextbox

JS
remove_blur
Parameters:handlerFunction

The event handler function to remove

Removes a buttonClick event handler from the radmaskedtextbox

JS
remove_buttonClick
Parameters:handlerFunction

The event handler function to remove

Removes a disable event handler from the radmaskedtextbox

JS
remove_disable
Parameters:handlerFunction

The event handler function to remove

Removes a enable event handler from the radmaskedtextbox

JS
remove_enable
Parameters:handlerFunction

The event handler function to remove

Removes a error event handler from the radmaskedtextbox

JS
remove_error
Parameters:handlerFunction

The event handler function to remove

Removes a focus event handler from the radmaskedtextbox

JS
remove_focus
Parameters:handlerFunction

The event handler function to remove

Removes a keyPress event handler from the radmaskedtextbox

JS
remove_keyPress
Parameters:handlerFunction

The event handler function to remove

Removes a load event handler from the radmaskedtextbox

JS
remove_load
Parameters:handlerFunction

The event handler function to remove

Removes a mouseOut event handler from the radmaskedtextbox

JS
remove_mouseOut
Parameters:handlerFunction

The event handler function to remove

Removes a mouseOver event handler from the radmaskedtextbox

JS
remove_mouseOver
Parameters:handlerFunction

The event handler function to remove

Removes a moveDown event handler from the radmaskedtextbox

JS
remove_moveDown
Parameters:handlerFunction

The event handler function to remove

Removes a moveUp event handler from the radmaskedtextbox

JS
remove_moveUp
Parameters:handlerFunction

The event handler function to remove

Removes a valueChanged event handler from the radmaskedtextbox

JS
remove_valueChanged
Parameters:handlerFunction

The event handler function to remove

Removes a valueChanging event handler from the radmaskedtextbox

JS
remove_valueChanging
Parameters:handlerFunction

The event handler function to remove

Methods

Indicating whether RadInputControl loses focus

JS
blur(): void

Clears the client instance of RadInputControl

JS
clear(): void

Disables the client instance of RadInputControl

JS
disable(): void

Enables the client instance of RadInputControl

JS
enable(): void

Indicating whether RadInputControl enter focus

JS
focus(): void

Returns true if enumerated mask parts can be set to an empty string

JS
get_allowEmptyEnumerations(): Boolean
Returns:

Boolean

Returns the value of the AutoPostBack property

JS
get_autoPostBack(): Boolean
Returns:

Boolean

Returns the current position of the caret.

JS
get_caretPosition(): Number
Returns:

Number

Gets the display format position of the RadMaskedTextBox control

JS
get_displayFormatPosition(): Telerik.Web.UI.DisplayFormatPosition
Returns:

Telerik.Web.UI.DisplayFormatPosition

Returns the prompt character that is used when the text box does not have focus

JS
get_displayPromptChar(): String
Returns:

String

Gets the value of RadInputControl as it is formatted when the input does not have focus

JS
get_displayValue(): String
Returns:

String

Gets the value of RadInputControl as it is formatted when the input has focus

JS
get_editValue(): String
Returns:

String

Returns the message that appears when the input value is an empty string

JS
get_emptyMessage(): String
Returns:

String

Returns true if the input is enabled

JS
get_enabled(): Boolean
Returns:

Boolean

Returns true if the prompt characters and literals are not displayed when the text box is empty and does not have focus

JS
get_hideOnBlur(): Boolean
Returns:

Boolean

Returns true if the input in error state (riError class is applied)

JS
get_invalid(): Boolean
Returns:

Boolean

Gets the invalid style duration of RadInputControl

JS
get_invalidStyleDuration(): Number
Returns:

Number

Returns the prompt of the RadMaskTextBox control

JS
get_prompt(): String
Returns:

String

Returns the prompt character

JS
get_promptChar(): String
Returns:

String

Returns true if the text box is read-only

JS
get_readOnly(): Boolean
Returns:

Boolean

Returns a Boolean value indicating if the caret position on the RadMaskedTextBox control should be reset on focus

JS
get_resetCaretOnFocus(): Boolean
Returns:

Boolean

Returns a Boolean value indicating if the numeric ranges of the RadMaskedTextBox control should be rounded

JS
get_roundNumericRanges(): Boolean
Returns:

Boolean

Returns the value of the SelectionOnFocus property

JS
get_selectionOnFocus(): Telerik.Web.UI.SelectionOnFocus
Returns:

Telerik.Web.UI.SelectionOnFocus

Returns true if the input has an associated image button

JS
get_showButton(): Boolean
Returns:

Boolean

Returns the InputStyles Client object, which can be used to change the appearance of the input when it is first loaded

JS
get_styles(): Array
Returns:

Array

Gets the string that the user typed into the input

JS
get_textBoxValue(): String
Returns:

String

Returns the value of the text box

JS
get_value(): String
Returns:

String

Returns the value of the text box, including the literal characters from the mask

JS
get_valueWithLiterals(): String
Returns:

String

Returns the value of the text box, including the prompt characters and literal characters from the mask

JS
get_valueWithPromptAndLiterals(): String
Returns:

String

Returns whether the input element is rendered as hidden or not. Does not apply if the control is inside another hidden html element

JS
get_visible(): Boolean
Returns:

Boolean

Gets the DOM element for the DIV wrapper element

JS
get_wrapperElement(): Element
Returns:

Element

Returns true if the value of the text box is selected

JS
inSelection(Object e): void
Parameters:eObject

Returns true if the value of the RadInputControl is empty

JS
isEmpty(): void

Returns true if the value of the RadInputControl is multi line

JS
isMultiLine(): void

Returns true if the value of the RadInputControl is a negative number

JS
isNegative(): void

Returns true if the value of the RadInputControl is read only

JS
isReadOnly(): void

Raises the blur event

JS
raise_blur(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the buttonClick event

JS
raise_buttonClick(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the handler for the mouseOver event

JS
raise_disable(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the enable event

JS
raise_enable(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the enumerationChanged event

JS
raise_enumerationChanged(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the error event

JS
raise_error(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the focus event

JS
raise_focus(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the keyPress event

JS
raise_keyPress(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the load event

JS
raise_load(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the mouseOut event

JS
raise_mouseOut(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the mouseOver event

JS
raise_mouseOver(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the moveDown event

JS
raise_moveDown(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the moveUp event

JS
raise_moveUp(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the valueChanged event

JS
raise_valueChanged(Object newValue, Object oldValue): void
Parameters:newValueObjectoldValueObject

Raises the valueChanging event

JS
raise_valueChanging(Sys.EventArgs args): void
Parameters:argsSys.EventArgs

Raises the postback event of RadInputControl

JS
raisePostBackEvent(): void

Redraws the client side object on the client

JS
repaint(): void

Resets the cursor position

JS
resetCursor(): void

Saves the client state of the RadMaskedTextBox control

JS
saveClientState(): void

Selects all text in the RadInputControl

JS
selectAllText(): void

Selects the text in the specified range of positions. The first parameter is the start of the range and the second is the end of the range

JS
selectText(Number start, Number end): void
Parameters:startNumberendNumber

Sets true if enumerated mask parts can be set to an empty string

JS
set_allowEmptyEnumerations(Boolean value): void
Parameters:valueBoolean

Enables or disables postbacks when the user changes the text in the input

JS
set_autoPostBack(Boolean value): void
Parameters:valueBoolean

Sets the position of the caret

JS
set_caretPosition(Number position): void
Parameters:positionNumber

Sets the cursor position of the RadMaskedTextBox control

JS
set_cursorPosition(Number position): void
Parameters:positionNumber

Sets the display format position of the RadMaskedTextBox control

JS
set_displayFormatPosition(Telerik.Web.UI.DisplayFormatPosition value): void
Parameters:valueTelerik.Web.UI.DisplayFormatPosition

Possible values are Telerik.Web.UI.DisplayFormatPosition.Left and Telerik.Web.UI.DisplayFormatPosition.Right

Sets the prompt character that is used when the text box does not have focus.

JS
set_displayPromptChar(String value): void
Parameters:valueString

Sets the message that appears when the input value is an empty string

JS
set_emptyMessage(String value): void
Parameters:valueString

Sets true if the input is enabled

JS
set_enabled(Boolean value): void
Parameters:valueBoolean

Sets true if the prompt characters and literals are not displayed when the text box is empty and does not have focus

JS
set_hideOnBlur(Boolean value): void
Parameters:valueBoolean

Sets if the input should be in error state (riError class to be applied)

JS
set_invalid(Boolean value): void
Parameters:valueBoolean

Sets the invalid style duration of RadInputControl

JS
set_invalidStyleDuration(Number value): void
Parameters:valueNumber

Sets the prompt character

JS
set_promptChar(String value): void
Parameters:valueString

Sets true if the text box is read-only

JS
set_readOnly(Boolean value): void
Parameters:valueBoolean

Accepts a Boolean value indicating if the caret position on the RadMaskedTextBox control should be reset on focus

JS
set_resetCaretOnFocus(Boolean value): void
Parameters:valueBoolean

Accepts a Boolean value indicating if the numeric ranges of the RadMaskedTextBox control should be rounded

JS
set_roundNumericRanges(Boolean value): void
Parameters:valueBoolean

Sets the SelectionOnFocus property

JS
set_selectionOnFocus(Telerik.Web.UI.SelectionOnFocus value): void
Parameters:valueTelerik.Web.UI.SelectionOnFocus

Accepts true if the input has an associated image button

JS
set_showButton(Boolean value): void
Parameters:valueBoolean

Sets the InputStyles Client object, which can be used to change the appearance of the input when it is first loaded

JS
set_styles(Array value): void
Parameters:valueArray

Sets the string that the user typed into the input

JS
set_textBoxValue(String value): void
Parameters:valueString

Sets the value of the text box

JS
set_value(String newValue): void
Parameters:newValueString

Sets the input element as hidden on the client

JS
set_visible(Boolean value): void
Parameters:valueBoolean

Updates the css class of RadInputControl

JS
updateCssClass(): void

Updates the css text of RadInputControl

JS
updateCssText(String styleCssText): void
Parameters:styleCssTextString

Updates the display value of RadInputControl

JS
updateDisplayValue(): void

Updates the value of the hidden input field

JS
updateHiddenValue(): void
Not finding the help you need?
Contact Support