.NET Discussion

.NET Issues, Problems, Code Samples, and Fixes

ASP.NET: Images in DropDownLists?

I am having a major dilemma; apparently there is no easy way to add images to list items in a DropDownList. This to me seems ludicrous. I would like my user to be able to pick an icon from a dropdown and afterwards be able to grab that value to update my database. I’ve seen it done elsewhere, I just don’t remember where. I’ve seen solutions like EasyListBox, but I’m not about to shell out $100 for this little bit of functionality, and I’ll be damned if I’m gonna stare at their advertisements in their demo version. I’ve also seen people suggest a DHTML (CSS/Javascript) solution from DynamicDrive.com, but I was unable to find any sort of applicable solution.

THERE MUST BE A WAY. Please help!

Status: Unsolved
Solution: None yet.


March 15, 2008 - Posted by | ASP.NET, CSS, Javascript, VB.NET |


  1. There is no easy way to add images to a LitemItem in the DropDownList because HTML doesn’t support it. So bound by the environment ASP.NET DropDownList cannot support it. Basically your only solution is to render a table that has your desired look. Then dynamically set the CSS style “display:none” and “display:box” to show or hide the the view you want to give your users. Then when they click on the table item you store the value in a hidden input field that will be submitted back. No easy way to accomplish this though. Sorry.

    Comment by Nick Berardi | March 15, 2008 | Reply

  2. I’m not sure if did you find a solution for your problem or not, but there is a new free tool could help you, check the following url


    Comment by Hassan Osman | July 1, 2009 | Reply

  3. Hi,

    i Have the same problem and i didn’t find any suitable solution. Did you find some help on this?

    thanks ,


    Comment by Iliya | January 26, 2010 | Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: