Solved

Drop Down List of Images

Posted on 2008-10-27
4
1,646 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

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

Suggested Solutions

Title # Comments Views Activity
ASP.NET e-commerce website 4 58
dynamic menu in asp.net c# 11 60
C#  Radio button search for Date not DateTime 4 35
When should I use a controller? 3 19
Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
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 dynamically set the form action using jQuery.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

13 Experts available now in Live!

Get 1:1 Help Now