Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
Can anybody please tell me "How to Get the following type of look to asp.net dropdownlist (a Flat look)".





Data coming to this dropdownlist is Dynamic (I mean from DB).

Thanks
Posted
Updated 13-Sep-10 0:24am
v3
Comments
Hiren solanki 13-Sep-10 6:52am    
Thanks to all,
I got the solution using JQuery.
Kunal Chowdhury «IN» 13-Sep-10 7:24am    
Awesome!!! Share the same to others too.

Some browsers does not allow you to style Select, so if you are in IE 6 or a browser that does not support style you need create your ComboBox using divs.

http://articles.sitepoint.com/article/style-web-forms-css[^]

:thumbsup:

Update : last s missed out.
 
Share this answer
 
v2
Comments
Hiren solanki 13-Sep-10 5:59am    
not able to redirect to link you provided.
Kunal Chowdhury «IN» 13-Sep-10 6:21am    
Your link is not working Abhishek.
Hiren solanki 13-Sep-10 6:23am    
kunal, can you please tell me why my question is always downvoted ?
am i asking any question restricted by codeproject ?
this is my second question being downvoted.
Kunal Chowdhury «IN» 13-Sep-10 6:25am    
I am not seeing your question as Downvoted. The answer given above was downvoted by someone.
Hiren solanki 13-Sep-10 6:28am    
Yes it is downvoted . Got 1 Vote / 5
Hello,
I got the answer,

Use
http://www.marghoobsuleman.com/[^]

and make the image 2px big from all side. that will be fit to dropdown edge.

and the final output will be look-a-like which i had mentioned,

Thanks.
 
Share this answer
 
Comments
Kunal Chowdhury «IN» 13-Sep-10 7:35am    
Thanks for sharing the link.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900