WEBSWAPP Silverlight ASP.NET 3.5 ASP.NET 2.0 ASP.NET 1.0
Cascading Lists
AJAX ToolKit
Hierarchies
AutoComplete PagingBulletedList

Using the AutoComplete Extender instead of a cascading list

In this demo, I will use the sample I developed in a previous demo - Cascading Dropdownlists in GridView. I modify only the web user control named "wucCity.ascx" by replacing its content with an AutoComplete extender strategy from the ToolKit to set and retrieve the city based on the first letters typed by the user. Everything else on the webform remains the same and the demo still functions as required.

I also added a TextBoxWatermarkExtender to the AutoComplete TextBox to improve the user experience when editing the content of the TextBox.


 Suite #Address Line 1Address Line 2City, Province, CountryPostal CodeType
Edit Delete 3522 Bloomington Rd.fff  Appleton , Wisconsin, United States 4000 Primary
Edit Delete 5  Abbeville, Alabama, United States   Home
Edit Deletegggqeeeeee Abbeville, Alabama, United States   Primary
Edit Delete234sdfsdf Alb-Donau , Baden-Württemberg , Germany 44 Primary

Source code:

AutoComplete source code wucCityAutoComplete.ascx Locations.asmx.cs