Skip to main content

BootstrapCheckBoxList Class

A control to display a list of check boxes.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DXClientDocumentationProviderWeb("BootstrapCheckBoxList")]
[ToolboxTabName("DX.24.1: Bootstrap Controls")]
public class BootstrapCheckBoxList :
    ASPxCheckBoxList,
    ISimpleRenderControl,
    IBootstrapEditorCssClassesOwner,
    IBootstrapListItemCaptionOwner

Remarks

Note

The BootstrapCheckBoxList 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 basic functionality of the Check Box List control.

The image below shows the result:

BootstrapCheckBoxList_Example

<dx:BootstrapCheckBoxList runat="server">
    <Items>
        <dx:BootstrapListEditItem Text="WinForms" Value="WinForms" />
        <dx:BootstrapListEditItem Text="ASP.NET" Value="ASP.NET" Selected="true" />
        <dx:BootstrapListEditItem Text="ASP.NET MVC" Value="ASP.NET MVC" Selected="true" />
        <dx:BootstrapListEditItem Text="WPF" Value="WPF" />
    </Items>
</dx:BootstrapCheckBoxList>
See Also