Solved

Building a Pre-Populated Dropdownlist Web Control

Posted on 2006-06-19
1
400 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
[X]
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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

738 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