Solved

DropDownList mania

Posted on 2012-03-27
5
223 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
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…

829 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