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

    DataBinding Events

    Event log
    • CheckBoxList is data binding
    • Item (Soft drinks, coffees, teas, beers, and ales) is created.
    • Item (Soft drinks, coffees, teas, beers, and ales) is data bound.
    • Item (Sweet and savory sauces, relishes, spreads, and seasonings) is created.
    • Item (Sweet and savory sauces, relishes, spreads, and seasonings) is data bound.
    • Item (Desserts, candies, and sweet breads) is created.
    • Item (Desserts, candies, and sweet breads) is data bound.
    • Item (Cheeses) is created.
    • Item (Cheeses) is data bound.
    • Item (Breads, crackers, pasta, and cereal) is created.
    • Item (Breads, crackers, pasta, and cereal) is data bound.
    • Item (Prepared meats) is created.
    • Item (Prepared meats) is data bound.
    • Item (Dried fruit and bean curd) is created.
    • Item (Dried fruit and bean curd) is data bound.
    • Item (Seaweed and fish) is created.
    • Item (Seaweed and fish) is data bound.
    • CheckBoxList is data bound

    RadCheckBoxList exposes the standard ASP.NET WebForms data-binding events:

    • OnDataBinding
    • OnDataBound
    • DefaultVB.aspx
    • DefaultVB.aspx.vb
    <%@ Page Language="vb" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.Web.Examples.CheckBoxList.Configurator.DefaultVB" %>
     
    <!DOCTYPE html>
    <head runat="server">
        <title>Telerik ASP.NET Example</title>
    </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 size-wide">
            <telerik:RadCheckBoxList runat="server" ID="CheckBoxList1" DataSourceID="SqlDataSource1"
                OnDataBinding="CheckBoxList1_DataBinding"
                OnDataBound="CheckBoxList1_DataBound"
                OnItemCreated="CheckBoxList1_ItemCreated"
                OnItemDataBound="CheckBoxList1_ItemDataBound">
                <Databindings DataTextField="Description" DataValueField="CategoryID" />
            </telerik:RadCheckBoxList>
        </div>
     
        <asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
            ProviderName="System.Data.SqlClient" SelectCommand="SELECT [CategoryID], [Description] FROM [Categories]" />
     
        <qsf:EventLogConsole runat="server" ID="EventLogConsole1" AllowClear="true" />
        </form>
    </body>
    </html>

    Support & Learning Resources

    Find Assistance