Improve company productivity with a Business Account.Sign Up

x
?
Solved

DropDownList mania

Posted on 2012-03-27
5
Medium Priority
?
238 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 30

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 2000 total points
ID: 37774198
0
 

Author Closing Comment

by:mitdaniels
ID: 37777292
Looks like a good example, thanks.
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Why WooCommerce is one of the majorly favored choices when it comes to having an eCommerce store. This article will acquaint you with some reasons that I believe make it one of the best eCommerce platforms available.
This article describes and provides a custom-made tool I wrote to give businesses a means of identifying commercial music content, without having to expend too much effort. Business recordings are easily identified from possibly illegal music files …
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 …
Introduction to Processes

589 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