Solved

Drop Down List of Images

Posted on 2008-10-27
4
1,636 Views
Last Modified: 2012-08-14
I am trying to create a drop down list to be used in a C# Web application.  Similiar to choosing a state from a drop down, but instead of text, a small image would appear?  Does anyone know how to do this?

Thanks,

Jared
0
Comment
Question by:jaredrico
4 Comments
 
LVL 8

Expert Comment

by:Wikkard
ID: 22818347
This isnt really possible in a web app afaik.
You could create your own user control to work like a dropdown with images.

0
 

Author Comment

by:jaredrico
ID: 22818401
what do you mean?  not use the drop down list control, then?
0
 
LVL 8

Expert Comment

by:mkosbie
ID: 22819054
A DropDownList control can only be used for text.  You would need to create a special user control to do this.  I would base it on an image drop down menu (like the one here: http://www.cssplay.co.uk/menus/image_dropdown.html).  Info on user controls: http://msdn.microsoft.com/en-us/library/y6wb1a0e.aspx
0
 
LVL 2

Accepted Solution

by:
smokingspaceman earned 500 total points
ID: 22820029
This is part of a commercial component packege that does what you want.
http://demos.telerik.com/ASPNET/Prometheus/Combobox/Examples/Default/DefaultCS.aspx

I'm sure you can do something similar using dhtml.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Mutually exclusive checkbox in a gridview 18 42
crm development 2 37
Problem to picture file 3 40
Hovering effect 9 29
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

758 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

18 Experts available now in Live!

Get 1:1 Help Now