BootstrapButton Class

Represents the button control.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[ToolboxTabName("DX.19.2: Bootstrap Controls")]
[DXClientDocumentationProviderWeb("BootstrapButton")]
public class BootstrapButton :
    ASPxButton,
    ISimpleRenderControl,
    IBSBadgeOwner
<ToolboxTabName("DX.19.2: Bootstrap Controls")>
<DXClientDocumentationProviderWeb("BootstrapButton")>
Public Class BootstrapButton
    Inherits ASPxButton
    Implements 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.

Examples

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