ASP.NET Pack Programmer's Guide
MaskTextBox Members
Constructors Fields Methods
 


Represents a text box that constrains the user input to a mask.

The following tables list the members exposed by the MaskTextBox type.

 Public Constructors

  Name Description

MaskTextBox

Initializes a new instance of the MaskTextBox class.

 Public Fields

  Name Description

Dom

An object, which keeps references to various DOM elements, part of the control's structure

 Public Methods

  Name Description

dispose

Sys.UI.Control.dispose override.

get_allowEmptyInput

Gets a value indicating whether empty input will be considered valid.

get_autoPostBack

Gets a value indicating whether the control will post back to the server when the value has changed.

get_emptyText

Gets the text to be displayed when the control's value is not set.

get_enabled

Gets a value indicating whether the control is enabled.

get_mask

Gets the input mask of the control.

get_promptChar

Gets the character used for a blank position in the control's input.

get_state

Gets the validation state of the control

get_submitOnEnter

Gets a value indicating whether the control will submit the form on pressing the Enter key.

get_text

Gets the text of the control.

get_value

Gets the value of the control.

initialize

Sys.UI.Control.initialize override.

postback

Initiates a postback.

preparePostback

Prepares the control for a subsequent postback.

set_allowEmptyInput

Sets a value indicating whether empty input will be considered valid.

set_autoPostBack

Sets a value indicating whether the control should post back to the server when the value has changed.

set_emptyText

Sets the text to be displayed when the control's value is not set.

set_enabled

Sets a value indicating whether the control is enabled.

set_mask

Sets the input mask of the control.

set_submitOnEnter

Sets a value indicating whether the control should submit the form on pressing the Enter key.

set_text

Sets the text of the control.

set_value

Sets the value of the control.

 See Also

MaskTextBox Class
MindFusion.UI.WebForms Namespace