473,399 Members | 2,278 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,399 software developers and data experts.

Backcolor changes

I'm having a problem when I place ASP:Textbox controls on a form. During
design time the control's backcolor is set to white. When I run the project
in debug mode or deploy the page to a test web server, the backcolor for
some of the fields changes to yellow.

I've reviewed the HTML and don't see anything in there that would change the
color. I've also EXPLICITLY set the BackColor property to white and the
controls still change to yellow. The controls are placed in various fields
in a table. I've double-checked the bgcolor and backcolor properties of the
table and also explicitly set those values to white. Those changes also had
no effect.

I've also removed the CSS just in case that might affect something. I've
removed the controls and replaced them on the form, also with no success.

Does anyone have any idea why this is happening? Please help!!
Nov 19 '05 #1
1 1138
Hi Matt,

hope u got mad with this problem :).

Fine... actually you don't need to do anything in your application.

If there are any requiredfields then this boxes will turn into yellow bgcolor.
It's the behaviour of browser , on coz of some toolbars or control you
installed.

I too had same problem some time before after I removed some of the toolbars
and activex controls from the control panel...the problem got solved.

So, nothing to change in your application.

Cheers,

Jerome. M

"Matt" wrote:
I'm having a problem when I place ASP:Textbox controls on a form. During
design time the control's backcolor is set to white. When I run the project
in debug mode or deploy the page to a test web server, the backcolor for
some of the fields changes to yellow.

I've reviewed the HTML and don't see anything in there that would change the
color. I've also EXPLICITLY set the BackColor property to white and the
controls still change to yellow. The controls are placed in various fields
in a table. I've double-checked the bgcolor and backcolor properties of the
table and also explicitly set those values to white. Those changes also had
no effect.

I've also removed the CSS just in case that might affect something. I've
removed the controls and replaced them on the form, also with no success.

Does anyone have any idea why this is happening? Please help!!

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ron | last post by:
I have several TextBoxes on a Web Form. When I run the project the background color of some of the TextBoxes changes to a "yellowish" color. Changing the BackColor property of these TextBoxes...
6
by: LU | last post by:
A)I build a datagrid based on a calendar date selection. B)When user clicks a button column on the datagrid I want to highlight this row. I use the code below to highlight the row. ***** CODE...
1
by: Firewalker | last post by:
I am attempting to change the backColor property on the previously instantiated buttons FROM a listbox_doubleClick event. I thought it would be something like this: If...
3
by: Fred Morrison | last post by:
OK, the direct method of setting the background color on a text-only (no panels) statusbar control seems to fail: Me.StatusBar1.Text = "<whatever> failed.> Me.StatusBar1.Backcolor = Color.Yellow...
5
by: Lumpierbritches | last post by:
Thank you in advance for any and all assistance. I have a group of checkboxes; when the female gender is checked, I would like to change the backcolor property to reflect (pink) and if the checkbox...
3
by: Jesse | last post by:
Hi, Here's my question first and then some information about what my problem is. Anyone know how or have a function/module/class/whatever to convert from argb to rgb? We have quite a few vb6...
4
by: ray well | last post by:
in my app i need to make a RichTextbox control transparent. i need it to be a like a pane of glass lying on a sheet of paper, where u can see everything on the sheet of paper not covered by text...
1
by: Bill Stillwell | last post by:
I am trying to set the "backcolor" property in fields in a form. It sets okay using a macro (setvalue). But when I close the form, the property settings revert back to what they were before I...
5
by: Zytan | last post by:
In the IDE, I changed the BackColor of a button. Then, I changed it back to what I thought was the default, 'Control'. But, the bolded text didn't disappear (I think bold means the setting is not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.