Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Building a Pre-Populated Dropdownlist Web Control

Posted on 2006-06-19
1
398 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

840 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