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

DataBinding Events

Event log
  • RadioButtonList 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.
  • RadioButtonList is data bound.

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

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

<!DOCTYPE html>
<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" />
    <div class="demo-container size-wide">
        <telerik:RadRadioButtonList runat="server" ID="RadioButtonList1" DataSourceID="SqlDataSource1"
            OnDataBinding="RadioButtonList1_DataBinding"
            OnDataBound="RadioButtonList1_DataBound"
            OnItemCreated="RadioButtonList1_ItemCreated"
            OnItemDataBound="RadioButtonList1_ItemDataBound">
            <Databindings DataTextField="Description" DataValueField="CategoryID" />
        </telerik:RadRadioButtonList>
    </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