New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

    WebForms CheckBoxList Overview

    #3 Which type of apps is the most useful to you?

    About RadCheckBoxList for ASP.NET AJAX

    The CheckBoxList control provides a single-selection checkbox button group that can be dynamically generated through data binding. It contains an Items collection with members that correspond to individual items on the list.

    RadCheckBoxList and 120+ other controls are part of UI for ASP.NET AJAX, a comprehensive toolset taking care of the common functionality of your application, while leaving you with more time to work on its business logic.

    Key Features

    • List of items—you can specify as many items as needed
    • Rich client-side functionality
    • Advanced Skinning—the visual appearance of the RadCheckBox controls in the list can be easily customized through skins
    • DefaultCS.aspx
    • styles.css
    <%@ Page Language="C#"  %>
     
    <%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
    <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
    <!DOCTYPE html>
    <head runat="server">
        <title>Telerik ASP.NET Example</title>
        <link href="styles.css" rel="stylesheet" />
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
        <div class="demo-container questionnaire">
            <div class="title">#3 Which type of apps is the most useful to you?</div>
            <telerik:RadCheckBoxList runat="server" ID="Questionnaire" AutoPostBack="false" CssClass="content">
                <Items>
                    <telerik:ButtonListItem Text="Game apps (puzzles, charades, etc.)" Value="0" />
                    <telerik:ButtonListItem Text="Sports apps (sports schedules, scores, headlines, etc.)" Value="1" />
                    <telerik:ButtonListItem Text="Travel apps (airplane tickets, tourist guides, transportation info, etc.)" Value="2" />
                    <telerik:ButtonListItem Text="News apps (news, national headlines, technology announcements, etc.)" Value="3" />
                    <telerik:ButtonListItem Text="Entertainment apps (puzzles, charades, etc.)" Value="4" />
                    <telerik:ButtonListItem Text="Social networking apps (location check-ins, friend status updates, etc.)" Value="5" />
                    <telerik:ButtonListItem Text="Weather apps (local forecasts, natural disaster updates, etc.)" Value="6" />
                    <telerik:ButtonListItem Text="Other" Value="7" />
                </Items>
            </telerik:RadCheckBoxList>
        </div>
        </form>
    </body>
    </html>

    Support & Learning Resources

    Find Assistance