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

 

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<!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>

</head>

<body style="margin-left:500px; margin-top:50px">

    <form id="form1" runat="server">

    <asp:ToolkitScriptManager runat="server">

    </asp:ToolkitScriptManager>

 

    <div  style="float:left">

    <asp:ListBox ID="lstbx1" runat="server" Width="120px" BackColor="Thistle" >

    <asp:ListItem Text="Pramod Chiluka"></asp:ListItem>

    <asp:ListItem Text="Ratna Ravva"></asp:ListItem>

    <asp:ListItem Text="Anji Kota"></asp:ListItem>

    <asp:ListItem Text="Reddy Subbu"></asp:ListItem>

    <asp:ListItem Text="Vijay"></asp:ListItem>

    <asp:ListItem Text="Sreenu"></asp:ListItem>

    <asp:ListItem Text="Sohel"></asp:ListItem>

    <asp:ListItem Text="Sravan Reddy"></asp:ListItem>

    </asp:ListBox>

    <br />

    Listview Example

        <asp:ListSearchExtender ID="ListSearchExtender1" runat="server" TargetControlID="lstbx1" PromptText="Type Search By" >

        </asp:ListSearchExtender>

        </div>

        <div style="float:left; margin-left:40px">

<asp:DropDownList ID="ddl1" runat="server" >

<asp:ListItem Text="Pramod Chiluka"></asp:ListItem>

    <asp:ListItem Text="Ratna Ravva"></asp:ListItem>

    <asp:ListItem Text="Anji Kota"></asp:ListItem>

    <asp:ListItem Text="Reddy Subbu"></asp:ListItem>

    <asp:ListItem Text="Vijay"></asp:ListItem>

    <asp:ListItem Text="Sreenu"></asp:ListItem>

    <asp:ListItem Text="Sohel"></asp:ListItem>

    <asp:ListItem Text="Sravan Reddy"></asp:ListItem>

</asp:DropDownList>

<br />

DropDown Example

 

        <asp:ListSearchExtender ID="ListSearchExtender2" runat="server" TargetControlID="ddl1">

        </asp:ListSearchExtender>

 

    </div>

    </form>

   

</body>

</html>