Solved

Drop Down List of Images

Posted on 2008-10-27
4
1,680 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
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)
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

623 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