How to add images to dropdown server control

S

Scott Mitchell [MVP]

Yuriy said:
I need to add images to dropdown sc.

The standard <SELECT> HTML element does not support this. Folks have
used CSS techniques as workarounds, though. There are some commercial
ASP.NET components that allow for this, doing all the heavy lifting for
you. For example, EasyListBox can have images in the DropDownList as
this demo illustrates:
http://easylistbox.com/demoCustomized.aspx

(One disadvantage of EasyListBox is that its "cool" features - images,
multi-column support, etc. - only work in IE and not Mozilla FireFox (my
browser of choice).)

There are some other enhanced DropDownLists at the Control Gallery:
http://asp.net/ControlGallery/default.aspx?Category=9&tabindex=2

hth

--

Scott Mitchell
(e-mail address removed)
http://www.4GuysFromRolla.com

* When you think ASP.NET, think 4GuysFromRolla.com!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top