The requested page is not available for the requested platform. You are viewing the content for Default platform.

BuilderFactoryExtensions.BootstrapButtonEdit(BuilderFactory) Method

Creates a Button Edit control.

Namespace: DevExpress.AspNetCore

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll

Declaration

public static BootstrapButtonEditBuilder BootstrapButtonEdit(
    this BuilderFactory builderFactory
)
<ExtensionAttribute>
Public Shared Function BootstrapButtonEdit(
    builderFactory As BuilderFactory
) As BootstrapButtonEditBuilder

Parameters

Name Type Description
builderFactory BuilderFactory

A BuilderFactory object providing access to Button Edit settings.

Returns

Type Description
BootstrapButtonEditBuilder

A builder for a Button Edit control.

Remarks

Important

Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

The code sample below demonstrates how you can use this method to create a Button Edit control.

@(Html.DevExpress()
    .BootstrapButtonEdit()
    .Value("Sample Text")
    .ClientSideEvents(events => events
        .ButtonClick("function(s,e) { dxbsDemo.showToast('The button has been clicked.'); }"))
    .Buttons(buttons => buttons.Add())
)
See Also