- 2 minutes to read
Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.
The Bootstrap Text Box is a single-line text editor.
Bootstrap Text Box offers the following features:
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.
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 BootstrapTextBoxBuilder.MaskSettings method.
You can format display values using the BootstrapTextBoxBuilder.DisplayFormatString method.
The Bootstrap Text Box control allows you to perform data validation both on the client and server side.
Full-Featured Client-Side API