473,320 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 5272
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: krian | last post by:
Hi, How can I change the styles of the DropDownList(Select box)..? and also I want to place an image in the place of DropDownButton of Select Box .. How can i done these in DHTML..?. I would...
5
by: Headless | last post by:
The following code renders a visible border around the hyperlinked image using the UA's default colours for links in IE and Moz: a img{border-width:1px} <a href="foobar.html"><img...
14
by: Sheila King | last post by:
Hello, Am at my wits end, after spending quite a bit of time looking at online CSS docs, reading FAQs, searching this newsgroup and validating my CSS document. Was trying to copy, to some...
8
by: Chuck | last post by:
given that the img border >0, how is a border color specified? Chuck
5
by: tshad | last post by:
How can I set the size of text in the dropdown list: <asp:DropDownList ID="ddlQuestionType" runat="server"> <asp:ListItem Value="MS" Text="Multiple Single" /> <asp:ListItem Value="MM"...
0
by: Denise | last post by:
Is there any way possible to change the border color and dropdown image arrow color and style for an asp.net dropdownlist?
2
by: sree reddy | last post by:
..cs using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls;
7
by: mishrarajesh44 | last post by:
hii all Truly telling i hav got this code from net & i am finding error while running the code below.. code:- <?php $idir = "photo/"; // Path To Images Directory $tdir =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.