Solved

DropDownList mania

Posted on 2012-03-27
5
221 Views
Last Modified: 2012-03-28
I have one to five DropDownLists that each depend on the previous DropDownLists' selected value. The first DropDownLists depends on a RadioButtonList selection. How do I get this to work while getting the data from a database.

One of the challenges is that when each new selection is made, an image must also be displayed.

Using C# ASP.NET / SQL Server.
0
Comment
Question by:mitdaniels
  • 2
  • 2
5 Comments
 
LVL 29

Expert Comment

by:anarki_jimbel
ID: 37773926
Sorry, was wrong comment... :)
0
 
LVL 21

Expert Comment

by:masterpass
ID: 37773962
well, Try using the cascadingdropdownlist from ajaxtoolkit of asp.net

http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/CascadingDropDown/CascadingDropDown.aspx

regarding the radiobutton for the first dropdown, write a javascript function to track the changes in radioscript and trigger the cascade dropdownlists

have a look here for the radiobutton thing via javascript:

http://forums.asp.net/t/1155462.aspx/1
0
 

Author Comment

by:mitdaniels
ID: 37774188
I appreciate the great suggestions materpass, but I am limited to the regular ASP.NET DropDownLists, perhaps you have some suggestions along those lines?
0
 
LVL 21

Accepted Solution

by:
masterpass earned 500 total points
ID: 37774198
0
 

Author Closing Comment

by:mitdaniels
ID: 37777292
Looks like a good example, thanks.
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

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
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.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

947 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

21 Experts available now in Live!

Get 1:1 Help Now