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.vn  Lansing , Michigan, United States 48155fd Billing
Edit Delete Exportrådet Klarabergsviadukten 70Box 240 Nora , Örebro County , Sweden   Primary
Edit Delete Klarabergsviadukten 90Box 44 Botkyrka , Stockholm County , Sweden 101 20 Primary

Source code:

AutoComplete source code wucCityAutoComplete.ascx Locations.asmx.cs