Button Edit
- 2 minutes to read
IMPORTANT
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 Button Edit control represents a text box editor that allows one or more buttons to be displayed within its client region.
Bootstrap Button Edit offers the following features:
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 by calling the BootstrapButtonEditBuilder.NullText method.
Mask Password Input
You can treat the input as a password, so the characters entered into the editor are masked. To enable this functionality, pass true to the BootstrapButtonEditBuilder.Password method.
Mask Input
The Bootstrap Button Edit control allows you to use masks during editing.
Button Templates
You can create a template that defines the common manner in which all the editor buttons are rendered.
- Built-in ValidationThe Bootstrap Button Edit control allows you to perform data validation on both the client and server side.
Customizable Button Layout and Look-and-Feel
Each button can display text, an image, or both. You can control the button’s visibility, availability to end-users and position within the editor’s text box. You can use the BootstrapButtonEditBuilder.Buttons method in order to manage the button collection.
Full-Featured Client-Side API
Bootstrap Button Edit provides you with a comprehensive client-side API. This API is implemented using JavaScript and is exposed via the BootstrapClientButtonEdit object. The BootstrapClientButtonEdit object serves as the client-side equivalent of the Bootstrap Button Edit control.