469,306 Members | 2,376 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

How to add Image in DropDownList (Asp.net with C#)

Hi....

Hello Friend's

I have some difficulty is that DropDownList

How to Add Image in DropDownList

plz reply as possible as with e.g.

thx,

Regarding,

Tushar Poshiya
Jun 18 '07 #1
2 16101
Frinavale
9,735 Expert Mod 8TB
Hi....

Hello Friend's

I have some difficulty is that DropDownList

How to Add Image in DropDownList

plz reply as possible as with e.g.

thx,

Regarding,

Tushar Poshiya

I don't think that dropDownLists support images.
Just like HTML <select> lists don't support images.

Sorry,

-Frinny
Jun 18 '07 #2
Plater
7,872 Expert 4TB
If this is a webpage and you REALLY want a drop downlist with images, you could simulate it with javascript and CSS

design a div with a z-index above your regular page. Set the display type to invisible. Give it a static size and tell it to overflow:auto in the css.
Then you can add a table to the DIV with images and items and hyperlinks and whatever.
You then make a generic hyperlink on your page that causes that hidden div to display when it gets clicked on. Mimic-ing the behavior of a drop down list.
Jun 18 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Brett Baisley | last post: by
2 posts views Thread by Shiju Poyilil | last post: by
1 post views Thread by m3ckon | last post: by
6 posts views Thread by Chris Fink | last post: by
4 posts views Thread by Denise | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.