<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadComboBox.aspx.cs" Inherits="RadComboBox" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadComboBox1" LoadingPanelID="LoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="Label1" LoadingPanelID="LoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
            <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Skin="Sunset">
            </telerik:RadAjaxLoadingPanel>
            <telerik:RadComboBox ID="RadComboBox1" runat="server" Height="200px" Width="220px"
                DataSourceID="AccessDataSource1" OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged"
                AutoPostBack="true" DataTextField="ProductName" DataValueField="ProductID">
            </telerik:RadComboBox>
            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Nwind.mdb"
                SelectCommand="SELECT [ProductID], [ProductName] FROM [Products] ORDER BY [ProductName]">
            </asp:AccessDataSource>
        </div>
    </form>
</body>
</html>
