[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
 [Expand]Site Navigation
 [Expand]Site Layout
 [Collapse]Data Editors
   Button Edit
   Check Box
   Check Box List
   Combo Box
   Date Edit
   List Box
   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]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)


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.

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 DevExpress.AspNetCore.Bootstrap.BootstrapButtonBuilder.Checked method. To create a mutually exclusive set of buttons, use the DevExpress.AspNetCore.Bootstrap.BootstrapButtonBuilder.GroupName method to specify a group of button controls. Once the DevExpress.AspNetCore.Bootstrap.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 ASPxClientButton.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 BootstrapClientButton object. The BootstrapClientButton object serves as the client-side equivalent of the Bootstrap Button control.

    You can operate with editor values using the following methods.

    Method Description
    ASPxClientButton.DoClick Simulates a mouse click action on the button control.
    ASPxClientButton.Focus Sets input focus to the button.
    ASPxClientButton.GetChecked Returns a value indicating whether the button is checked.
    ASPxClientButton.SetChecked Sets a value that specifies the button's checked status.
    ASPxClientButton.GetEnabled Returns a value indicating whether the button is enabled.
    ASPxClientButton.SetEnabled Sets a value specifying whether the button is enabled.
    BootstrapClientButton.GetText Returns the text displayed within the button.
    BootstrapClientButton.SetText Sets the text to be displayed within the button.

Expanded See Also

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