The requested page is not available for the requested platform. You are viewing the content for Default platform.

Button

  • 2 min 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 control extends standard button functionality by providing an enhanced client API and allows to automatically trigger a validation mechanism for DevExpress web controls on both the client side and server side.

BootstrapButton_Overview

Bootstrap Button provides the following features:

  • Radio Button Functionality

    It is possible to create a set of mutually exclusive buttons (similar to the functionality found in radio buttons). This can be accomplished by using the BootstrapButtonBuilder.Checked method. To create a mutually exclusive set of buttons, use the BootstrapButtonBuilder.GroupName method to specify a group of button controls. Once the BootstrapButtonBuilder.GroupName method has been called, only one button in the specified group can be checked at one time. When a button's checked state is changed, the CheckedChanged event is raised.

  • Built-in Validation

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

  • Full-Featured Client-Side API

    Bootstrap Button provides a comprehensive client-side API. This API is implemented with JavaScript and is exposed via the BootstrapButton object. The BootstrapButton object serves as the client-side equivalent of the Bootstrap Button control.

    You can operate with editor values using the following methods.

See Also