ComboBox - WAI-ARIA Support

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

The RadComboBox control has WAI-ARIA support which can be easily enabled by setting EnableAriaSupport to true

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page Language="C#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true"  Inherits="ComboBox.Examples.WaiAriaSupport.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:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">

        <div class="demo-container size-thin">
            <telerik:RadComboBox RenderMode="Lightweight" ID="RadComboBox2" runat="server" Height="200px" Width="300px" EnableAriaSupport="true"
                DataSourceID="SqlDataSource1" DataTextField="ProductName" 
                DataValueField="ProductID" />
        </div>
    </telerik:RadAjaxPanel>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>

    <asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
        ProviderName="System.Data.SqlClient" SelectCommand="SELECT [ProductID], [ProductName] FROM [Products] ORDER By ProductName" />
    </form>
</body>
</html>

Find Assistance

Help Us Improve

Was this example helpful?