<%@ Page Language="VB" AutoEventWireup="false" CodeFile="SelectedValue.aspx.vb" Inherits="VB_Examples_SelectedValue" %>
<%@ 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></title>
    <link rel="stylesheet" href="styles.css" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="420" 
            AllowCustomText="True" MaxHeight="300px" Filter="Contains" AutoPostBack="True">
            <HeaderTemplate>
                <ul>
                    <li class="col1">CustomerID</li>
                    <li class="col2">CompanyName</li>
                    <li class="col3">ContactName</li>
                </ul>
            </HeaderTemplate>
            <ItemTemplate>
                <ul>
                    <li class="col1">
                        <%#DataBinder.Eval(Container.DataItem, "CustomerID").ToString()%></li>
                    <li class="col2">
                        <%#DataBinder.Eval(Container.DataItem, "CompanyName").ToString()%></li>
                    <li class="col3">
                        <%#DataBinder.Eval(Container.DataItem, "ContactName").ToString()%></li>
                </ul>
            </ItemTemplate>
        </telerik:RadComboBox>
        <asp:Label ID="lblSelectedValue" runat="server"></asp:Label>
    </div>
    </form>
</body>
</html>
