Problem with creating looping table rows in asp.net

Posted on 2005-03-28
Medium Priority
Last Modified: 2010-04-07
I need to create a form that has a dropdownlist as one of the components on it.  

If a user selects something from this dropdownlist however, I need to create a new row with another identical dropdownlist.  If the user then selects something from this one, then a third identical drop down should be displayed on the screen.  The user should theoretically have the option of displaying an infinate number of dropdownlists if they so choose.

How would I go about doing this?

Thanks in advance.

Question by:Goalie35
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 33

Accepted Solution

raterus earned 800 total points
ID: 13646001
I'd use a repeater, bound to an array, or any other datasource of your choosing.  When they add a new row you rebind the repeater, which will display a dropdownlist for each row of the datasource.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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 this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

800 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