Solved

Building a Pre-Populated Dropdownlist Web Control

Posted on 2006-06-19
1
396 Views
Last Modified: 2007-12-19
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.
0
Comment
Question by:ABaruh
1 Comment
 
LVL 27

Accepted Solution

by:
Sammy earned 500 total points
ID: 16937333
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now