Users Pricing

articles

home / developersection / articles / ajax control toolkit: listsearchextender

AJAX Control Toolkit: ListSearchExtender

Amit Singh 10959 25 Sep 2010 Updated 04 Mar 2020

ListSearchExtender: The ListSearchExtender control extends either a ListBox or Dropdown Listbox. This extender allows you  to provide search capabilities through large collection that are located in either of these control. It have only on main properties TargetControlID.

How we implement the Update Progress server control

 Step1: we use the following control on aspx page

 Example:
 <div>
<%--Using ScriptManager or ToolkitScriptManager according toolkit version--%>
<asp:ScriptManager ID="ScriptManager1"runat="server"></asp:ScriptManager>
<%-- add the ListSearchExtender and dropdownlistbox--%>
<cc1:ListSearchExtender ID="ListSearchExtender1" runat="server" TargetControlID="ListBox1">
</cc1:ListSearchExtender>      
<asp:ListBox ID="ListBox1" runat="server">
<asp:ListItem>ANDY</asp:ListItem>
<asp:ListItem>CHRIS</asp:ListItem>
<asp:ListItem>MARK</asp:ListItem>
<asp:ListItem>SANDY</asp:ListItem>
</asp:ListBox>      
</div>

  Step3: Run the project

Output: 

AJAX Control Toolkit: ListSearchExtender

 


Amit Singh

Other


2 Comments