[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Collapse]ASP.NET Core Bootstrap Controls
  Getting Started
  Grid View
  Charts
 [Expand]Site Navigation
 [Expand]Site Layout
 [Collapse]Data Editors
   Button
   Button Edit
   Calendar
   Check Box
   Check Box List
   Combo Box
   Date Edit
   List Box
   Memo
   Progress Bar
   Radio Button
   Radio Button List
   Spin Edit
   Text Box
 [Expand]Redistribution and Deployment
 [Expand]API Reference
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Text Box

The Bootstrap Text Box is a single-line text editor.

Bootstrap Text Box offers the following features:

  • Data-Bound Mode

    The Bootstrap Text Box 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.

  • 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 using the BootstrapTextBox.NullTextStyle method.

  • Masked Input

    The Bootstrap Text Box 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 using the DevExpress.AspNetCore.Bootstrap.BootstrapTextBoxBuilder.MaskSettings method.

  • Display Formatting

    You can format display values using the DevExpress.AspNetCore.Bootstrap.BootstrapTextBoxBuilder.DisplayFormatString method.

  • Built-in Validation

    The Bootstrap Text Box control allows you to perform data validation both on the client and server side.

  • Full-Featured Client-Side API

    Bootstrap Text Box provides you with a comprehensive client-side API. This API is implemented using JavaScript and is exposed via the BootstrapClientTextBox object. The BootstrapClientTextBox object serves as a client-side equivalent of the Bootstrap Text Box control.

Expanded See Also

Is this topic helpful?​​​​​​​