aspnetbootstrap-devexpress-dot-web-dot-bootstrap-5eb7f953.md
Represents the button control.
Namespace : DevExpress.Web.Bootstrap
Assembly : DevExpress.Web.Bootstrap.v25.2.dll
NuGet Package : DevExpress.Web.Bootstrap
[DXClientDocumentationProviderWeb("BootstrapButton")]
[ToolboxTabName("DX.25.2: Bootstrap Controls")]
public class BootstrapButton :
ASPxButton,
ISimpleRenderControl,
IBSBadgeOwner
<ToolboxTabName("DX.25.2: Bootstrap Controls")>
<DXClientDocumentationProviderWeb("BootstrapButton")>
Public Class BootstrapButton
Inherits ASPxButton
Implements ISimpleRenderControl,
IBSBadgeOwner
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.
This example demonstrates the Button control with default settings.
Initialize a new instance of the BootstrapButton class.
Use the ASPxButton.Text property to specify the button’s text.
Handle the ASPxButton.Click / ASPxClientButton.Click event occurring on the client/server side after the button is clicked.
<dx:BootstrapButton runat="server" Text="Button" AutoPostBack="false">
<ClientSideEvents Click="function(s,e) { dxbsDemo.showToast('The button has been clicked.'); }" />
</dx:BootstrapButton>
Object Control WebControl ASPxWebControlBase ASPxWebControl ASPxButton BootstrapButton
See Also