469,631 Members | 1,828 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

Dropdownlist border and image colors

Is there any way possible to change the border color and dropdown image arrow
color and style for an asp.net dropdownlist?
Nov 19 '05 #1
4 5024
you can dynamically add a style attribute, and use CSS to control it. Theres
also a small bug in the DropDownList styling, the workaround is detailed @
http://www.syncfusion.com/FAQ/aspnet/WEB_c6c.aspx#q100q

"Denise" <De****@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
Is there any way possible to change the border color and dropdown image arrow color and style for an asp.net dropdownlist?

Nov 19 '05 #2
you can dynamically add a style attribute, and use CSS to control it. Theres
also a small bug in the DropDownList styling, the workaround is detailed @
http://www.syncfusion.com/FAQ/aspnet/WEB_c6c.aspx#q100q

"Denise" <De****@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
Is there any way possible to change the border color and dropdown image arrow color and style for an asp.net dropdownlist?

Nov 19 '05 #3
Thanks for your reply, but this article shows how to set the color of
individual items. I would like to set the border color of the entire drop
down list. I am using XP and the border color always defaults to the xp
blue. There are no settings to change it. I tried the following line in my
page_load but it was ignored:
codeDropDown.Attributes.Add("style", "border: solid 1px #ACAC9B")

Denise

"Cathal Connolly [C# MVP]" wrote:
you can dynamically add a style attribute, and use CSS to control it. Theres
also a small bug in the DropDownList styling, the workaround is detailed @
http://www.syncfusion.com/FAQ/aspnet/WEB_c6c.aspx#q100q

"Denise" <De****@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
Is there any way possible to change the border color and dropdown image

arrow
color and style for an asp.net dropdownlist?


Nov 19 '05 #4
Thanks for your reply, but this article shows how to set the color of
individual items. I would like to set the border color of the entire drop
down list. I am using XP and the border color always defaults to the xp
blue. There are no settings to change it. I tried the following line in my
page_load but it was ignored:
codeDropDown.Attributes.Add("style", "border: solid 1px #ACAC9B")

Denise

"Cathal Connolly [C# MVP]" wrote:
you can dynamically add a style attribute, and use CSS to control it. Theres
also a small bug in the DropDownList styling, the workaround is detailed @
http://www.syncfusion.com/FAQ/aspnet/WEB_c6c.aspx#q100q

"Denise" <De****@discussions.microsoft.com> wrote in message
news:EE**********************************@microsof t.com...
Is there any way possible to change the border color and dropdown image

arrow
color and style for an asp.net dropdownlist?


Nov 19 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Headless | last post: by
14 posts views Thread by Sheila King | last post: by
8 posts views Thread by Chuck | last post: by
5 posts views Thread by tshad | last post: by
reply views Thread by Denise | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.