BootstrapButtonEdit Class
In This Article
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 Bootstrap
- The control’s client-side equivalent is represented by the Bootstrap
Client object.Button Edit - On the client side, the client object can be accessed directly by the name specified via the ASPx
Edit property.Base. Client Instance Name - The available client events can be accessed by using the ASPx
Button property.Edit. Client Side Events
The control’s client-side API is enabled if the ASPx
#Example
This example demonstrates the Button Edit control with default settings.
- Initialize a new instance of the
BootstrapButtonEdit
class. - Use the ASPxTextEdit.Text property to specify the button’s text.
- Handle the ASPxButtonEditBase.ButtonClick event occurring once the button is clicked.
The image below shows the result:
<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>
#Inheritance
See Also