Image dropdown control

Posted on 2006-03-28
Last Modified: 2012-06-27

Has anyone come across a dropdown control for that displays images rather than text? Preferably showing a 2-D list rather single items per row?

Question by:dalsandhu
    LVL 22

    Accepted Solution

    Hi dalsandhu,

    Sounds like what you want is not a DropDownList at all.  Perhaps you can use a DataList or Repeater control to accomplish what you want and wrap it in a <div> tag like this one:

    <div style="overflow: auto; width: 400px; height: 200px;">
      ... your DataList or Repeater ...

    This will cause the DataList or Repeater to be scrollable, like a DropDownList.  But since you would be creating it yourself, you can make it "2-D" or scroll like a normal list.  Just something to consider.

    -- Jason

    Author Comment

    Thanks Jason. Yes, not a bad idea.

    The reason I want something like a dropdown is that I want the list to disappear when not in use. My page looks and behaves more like a winform, and I'd rather keep it like that. If I use a div it would shift all controls down to make room. Perhaps absolute positioning could help, but I need the list to disappear when it's lost focus, which could be tricky. I shall have a go at this unless I hear from someone re a control.


    Author Comment

    Hi - I have abandoned this idea. Am using a dropdown with text only. When the user selects a row the appropriate graphic is displayed in an adjacent image field.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to improve team productivity

    Quip adds documents, spreadsheets, and tasklists to your Slack experience
    - Elevate ideas to Quip docs
    - Share Quip docs in Slack
    - Get notified of changes to your docs
    - Available on iOS/Android/Desktop/Web
    - Online/Offline

    Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
    This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
    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…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    761 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

    15 Experts available now in Live!

    Get 1:1 Help Now