Multi Color DropDownList

  • Thread starter Thread starter David
  • Start date Start date
D

David

Hi!!

I'd like to dessing a DropDownList with 20 colors different among them
and I don't want to appear the name of the color, only the color. The
20 color i'll take from a DatabBase, and on the value of the
DropDownList will be an Hexadecilmal number taken from the DatabBase.
How can I change the "style=background-color" for each Items.

Thaks All
 
To the best of my knowledge, you will need to do an owner-drawn list to
achieve the desired results.

Richard Rosenheim
 
Or create a field in the database and store the color name and display
accordingly on web site.

Kinda expensive idea since you would have store this information in db.

Thanks.
 

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

Back
Top