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 6621 Electronic Drive2nd floor Assen , Drenthe , Netherlands 22151-4302 Shipping
Edit Delete Exportrådet Klarabergsviadukten 70Box 240 Nora , Örebro County , Sweden   Primary

Source code:

AutoComplete source code wucCityAutoComplete.ascx Locations.asmx.cs