- 2 min to read
ASPxTextBox is a single-line text editor.
ASPxTextBox offers the following features:
The ASPxTextBox control can be bound to data using standard data-binding expressions. Editors can be bound to specific data field values and submit data changes made within the editor back to the database.
The text box can be rendered as a native HTML text input element. When the native HTML mode is enabled, a control appearance depends on how a client browser renders native HTML elements. Set the ASPxTextBox.Native property value to "True" to enable native rendering.
Null Prompt Text
The prompt text can be displayed if the editor's value is null and the editor is not focused. The prompt text disappears when the editor receives focus. You can define the prompt text via the ASPxTextBox.NullText property.
An ASPxTextBox editor allows you to use masks during editing. Masks are useful when a string entered by an end-user into an editor should match a specific format. Additionally, a specific mask hint can be displayed for some mask types, informing end-users about allowed input values. You can customize mask settings via the ASPxTextBox.MaskSettings property.
You can format display values using the ASPxTextEdit.DisplayFormatString property.
The ASPxTextBox control allows you to perform data validation both on the client and server side. See the Validation topic to learn more.
Full-Featured Client-Side API