Building a Pre-Populated Dropdownlist Web Control

I build a lot of asp.net web applications that have customer information fields like Address, City, State, Country.  I would like to build some custom dropdownlists that when I drag onto my current project will have all of the items pre-populated.  For example, I'd like to drag a "State" dropdownlist onto my form that is prefilled with all of the states for the selected country.  The items do not need to come from a database.
LVL 7
ABaruhAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
SammyConnect With a Mentor Commented:
You need to create them as server controls
take a look here for a sample dropdown menu with all states in the USA
http://www.codeproject.com/aspnet/SDIddlStatesPackage.asp

HTH
0
All Courses

From novice to tech pro — start learning today.