Skip to main content

BootstrapButton Class

Represents the button control.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.2.dll

Declaration

[DXClientDocumentationProviderWeb("BootstrapButton")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapButton :
    ASPxButton,
    ISimpleRenderControl,
    IBSBadgeOwner

Remarks

Note

The BootstrapButton control provides you with comprehensive client-side functionality implemented using JavaScript code:

The control’s client-side API is enabled if the ASPxButton.EnableClientSideAPI property is set to true, or the ASPxButton.ClientInstanceName property is defined, or any client event is handled.

Example

This example demonstrates the Button control with default settings.

<dx:BootstrapButton runat="server" Text="Button" AutoPostBack="false">
    <ClientSideEvents Click="function(s,e) { dxbsDemo.showToast('The button has been clicked.'); }" />
</dx:BootstrapButton>
See Also