CheckBoxList - Server-Side Events

Event log

Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

Along with the standard ASP.NET WebForms RadCheckBoxList exposes the following userful events:

  • OnSelectedIndexChanged
  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DefaultCS.aspx.cs" Inherits="Telerik.Web.Examples.CheckBoxList.Configurator.DefaultCS" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<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" />
    <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1"></telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxPanel runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
        <div class="demo-container size-wide">
            <telerik:RadCheckBoxList runat="server" ID="CheckBoxList1" OnSelectedIndexChanged="CheckBoxList1_SelectedIndexChanged">
                <Items>
                    <telerik:ButtonListItem Text="Option 1" Value="1" />
                    <telerik:ButtonListItem Text="Option 2" Value="2" />
                    <telerik:ButtonListItem Text="Option 3" Value="3" />
                    <telerik:ButtonListItem Text="Option 4" Value="4" />
                    <telerik:ButtonListItem Text="Option 5" Value="5" />
                </Items>
            </telerik:RadCheckBoxList>
        </div>

        <qsf:EventLogConsole runat="server" ID="EventLogConsole1" AllowClear="true" />
    </telerik:RadAjaxPanel>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?