Skip to main content

BootstrapButtonEdit Class

Represents an edit control with embedded buttons.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

#Declaration

[DXClientDocumentationProviderWeb("BootstrapButtonEdit")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapButtonEdit :
    ASPxButtonEdit,
    ISimpleRenderControl,
    IBootstrapEditorCssClassesOwner

#Remarks

Note

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

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

#Example

This example demonstrates the Button Edit control with default settings.

The image below shows the result:

BootstrapButtonEdit_Overview

<dx:BootstrapButtonEdit runat="server" Text="Sample Text">
    <ClientSideEvents ButtonClick="function(s,e) { dxbsDemo.showToast('The button has been clicked.'); }" />
    <Buttons>
        <dx:BootstrapEditButton />
    </Buttons>
</dx:BootstrapButtonEdit>
See Also