Solved

DropDownList mania

Posted on 2012-03-27
5
219 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
Comment Utility
Sorry, was wrong comment... :)
0
 
LVL 21

Expert Comment

by:masterpass
Comment Utility
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
Comment Utility
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
Comment Utility
0
 

Author Closing Comment

by:mitdaniels
Comment Utility
Looks like a good example, thanks.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 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

20 Experts available now in Live!

Get 1:1 Help Now