473,659 Members | 3,239 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Textbox Background Color

How do you control the color of a textbox background color? I have an issue
that when a user is viewing a form in the same version of IE 6 and operating
system but a differenet computer they get a yellow background on SOME of the
textboxes while other remain white. Thank you in advance for your help.
Nov 3 '06 #1
5 1967
I am willing to bet they have the Google toolbar installed, which by default
changes input controls with particular id's to yellow to show them as
required fields. Usually id's that have to do with last name, first name,
city, state, zip, etc.

"Mark Sandfox" <No****@NoSpam. comwrote in message
news:wM******** *******@newssvr 14.news.prodigy .com...
How do you control the color of a textbox background color? I have an
issue that when a user is viewing a form in the same version of IE 6 and
operating system but a differenet computer they get a yellow background on
SOME of the textboxes while other remain white. Thank you in advance for
your help.


Nov 3 '06 #2
K B
Hi,

I found I had this problem ocassionally due to having the Google toolbar
installed with the Highlight or AutoFill options (not sure which it was)
turned on for the user's machine.

KB

*** Sent via Developersdex http://www.developersdex.com ***
Nov 3 '06 #3
is there a way to override this feature from the design end?
"Marina Levit [MVP]" <so*****@nospam .comwrote in message
news:um******** ******@TK2MSFTN GP04.phx.gbl...
>I am willing to bet they have the Google toolbar installed, which by
default changes input controls with particular id's to yellow to show them
as required fields. Usually id's that have to do with last name, first
name, city, state, zip, etc.

"Mark Sandfox" <No****@NoSpam. comwrote in message
news:wM******** *******@newssvr 14.news.prodigy .com...
>How do you control the color of a textbox background color? I have an
issue that when a user is viewing a form in the same version of IE 6 and
operating system but a differenet computer they get a yellow background
on SOME of the textboxes while other remain white. Thank you in advance
for your help.



Nov 3 '06 #4
Not that I am aware of. The user has to shut this feature off in the google
toolbar. Google will do this for all web pages, oddly someone over there
thought it was a good idea.

"Mark Sandfox" <No****@NoSpam. comwrote in message
news:Wg******** ********@newssv r13.news.prodig y.com...
is there a way to override this feature from the design end?
"Marina Levit [MVP]" <so*****@nospam .comwrote in message
news:um******** ******@TK2MSFTN GP04.phx.gbl...
>>I am willing to bet they have the Google toolbar installed, which by
default changes input controls with particular id's to yellow to show them
as required fields. Usually id's that have to do with last name, first
name, city, state, zip, etc.

"Mark Sandfox" <No****@NoSpam. comwrote in message
news:wM******* ********@newssv r14.news.prodig y.com...
>>How do you control the color of a textbox background color? I have an
issue that when a user is viewing a form in the same version of IE 6 and
operating system but a differenet computer they get a yellow background
on SOME of the textboxes while other remain white. Thank you in advance
for your help.




Nov 3 '06 #5
What you can do however, is give your controls names such that the google
toolbar won't think it should make them yellow. You might have to experiment
a bit, to see exactly what kind of naming will allow you to bypass the
feature.

"Mark Sandfox" <No****@NoSpam. comwrote in message
news:Wg******** ********@newssv r13.news.prodig y.com...
is there a way to override this feature from the design end?
"Marina Levit [MVP]" <so*****@nospam .comwrote in message
news:um******** ******@TK2MSFTN GP04.phx.gbl...
>>I am willing to bet they have the Google toolbar installed, which by
default changes input controls with particular id's to yellow to show them
as required fields. Usually id's that have to do with last name, first
name, city, state, zip, etc.

"Mark Sandfox" <No****@NoSpam. comwrote in message
news:wM******* ********@newssv r14.news.prodig y.com...
>>How do you control the color of a textbox background color? I have an
issue that when a user is viewing a form in the same version of IE 6 and
operating system but a differenet computer they get a yellow background
on SOME of the textboxes while other remain white. Thank you in advance
for your help.




Nov 3 '06 #6

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

Similar topics

11
2457
by: Mr. B | last post by:
While at first this may seem a simple tast, it has plagued me for a while... What I want to do is to have the background colour of something like a TextBox to change from (say) White to Yellow to White to Yellow and then back to White in about 1 second or so. This is to create something like a 'flash' (or a Pulse) for when a User clicks on 1 of 4 Radio Buttons (which change the Text in the TextBox). So in other words, to get the...
3
1968
by: Steve | last post by:
I have windows form with the few TextBox controls. Under certain conditions I disable or enable this controls by setting Enable property to true or false: For example: this.m_txtIP.Enabled = false ; The controller become disabled, and I can't enter any data. The problem is that the background color of the TextBox doesn't change whether it is enabled or disabled. It always looks like enabled.
4
6897
by: Jurjen de Groot | last post by:
I'm developing a ASP.NET/VB.NET web application. (VS.NET 2003) I've created several webpages, but on two pages one textbox colors yellow (the background) and I can't get the background to appear as White as it should by default. Even setting the background to Red doesn't prevent it, the textbox still appears with a yellow background. With or Without using a stylesheet the textbox still appears with a yellow background. The textbox is...
8
3473
by: tshad | last post by:
I cannot seem to get the asp:textbox to use classes. Style works fine. I am trying to set the textbox to act like a label in some instance so it doesn't have a border, readonly and the background is grey. I have a class set as: ..table2Label{ border-style:none; background-color:#F6F6F6; }
0
4435
by: Don | last post by:
I'm making a custom control that has a multiline textbox on it. I want to make the textbox have a gradient background. On my custom control's Paint event I call a routine that draws a gradient on the textbox's background, but the gradient starts appearing at the bottom of the textbox after the last line of text. It's almost as if VB draws the gradient on the entire textbox, then blanks out the part of the textbox that actually displays...
2
5161
by: Simon | last post by:
I've only recently got started using VB.net Compact Framework, and I'm struggling to create a read-only Textbox with a white background. Even though I can set the background colour of a textbox, as soon as I set the control to read-only it turns the background grey. Unfortunately I can't set the enabled property to false as sometimes I need the scrollbars to work on the Textbox. I did think about using a label instead of a Textbox, but...
10
1769
by: aarepasky | last post by:
I am using ASP Web 2005 express. I created the user control below and I am listing the html code. I have 2 textboxes. One is txtCompanyName. The main page has 2 panels on it and a button. Panel1 contains the user control1 which is a form that has the txtCompanyName. Panel2 contains another user control2 which is another form. When I click the button, I want to do something with the textbox
8
5073
by: Filipe Marcelino | last post by:
Hi, I'm trying to create a textbox inheriting from the standard textbox. I would like to: 1. repaint the textbox border; 2. define a color for that border; Till now I made this:
0
3491
by: sjickells | last post by:
Hi I am having a problem using asp:TextBox's in a transparent table. I have a background image on the page and a table in the middle of the page. I have set the background colour of the table to white the used CSS to set the opacity to 90 so that you can see the background image through the table. The problem I am having is with the textboxes in the transparent
8
36878
by: Marco Pais | last post by:
Hi there. How can I change the background color of a textbox when it gets the focus? I can handle the "Enter" event and do this private void txtDummie_Enter(object sender, EventArgs e) { txtDummie.BackColor=Color.Red; }
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8335
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8627
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5649
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2752
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1976
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.