How Do I: Use the ASP.NET AJAX ListSearch Extender?

This video demonstrates the use of the ListSearch extender control from the ASP.NET AJAX Control Toolkit. The ListSearch extender enhances DropDownList and ListBox controls so that a user can select an item in the list by simply typing its first few characters. This enhancement improves the user experience by providing an intuitive way of selecting an item from a long list.

Presented by Joe Stagner

Duration: 11 minutes, 49 seconds

Date: 25 May 2007

Watch the video   |   Download the video   |   Get VB code  or  C# code

Video downloads: WMV | Zune | iPod | PSP | MPEG-4 | 3GP

Audio downloads: AAC | WMA | MPEG-4 | MPEG-3 | MPEG-2

Comments : 11

Leave a Comment

ajmalmcs1 : On April 04, 2008 8:19 AM said:

this is very good approach

and very good extender

it can make easy to use dropdownlist

JoeStagner : On April 14, 2008 8:18 PM said:

Thanks - Glad it helped !

jim.bridgeford : On May 12, 2008 1:11 PM said:

Is there a way to set the search section to have a look/feel of a TextBox?

Ahmedkiwi : On May 28, 2008 6:44 AM said:

Excellent Mr.JoeStaqner :)

Talat : On June 30, 2008 8:27 AM said:

Is it possible to set the Textbox to visible=false ?

thirajendramurugan : On July 18, 2008 7:40 AM said:

this search section is better than others

cv_vikram : On August 06, 2008 3:38 PM said:

Good video...thanks

engineerachu : On August 22, 2008 1:15 AM said:

Thanks for the Code.

ptakkeda : On August 29, 2008 1:01 PM said:

Hello Joe,

I am having a problem with the extender. I am using this extender with a dropdownlist which has number for example 1 to 100. when I type 10 in the dropdown, 100 gets selected. Even when I type 1, 100 gets selected. Can you tell me how to solve this problem? Here is the code I am using

<ajaxToolkit:ListSearchExtender id="LSE" runat="server"

   TargetControlID="ddlReceipt"  

   PromptText="Type to search"

   PromptCssClass="ListSearchExtenderPrompt"

   PromptPosition="Top"

   IsSorted="true" QueryPattern="StartsWith" />

eadeveloper : On September 07, 2008 12:37 AM said:

ptakkeda,

Is your options list sorted ascending or descending ?

Also, try setting the IsSorted="false".

HTH

GoodConway : On September 09, 2008 6:21 PM said:

Could you post code for what this could look like if it were linked using a SqlDataSource, or maybe direct me to a location that might help?

Thank you for the good information.

- GC

Leave a Comment

You must be logged in to leave a comment. Click here to log in.

Page view counter
Microsoft Communities