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

TextBoxes with Yellow Background

A.M
Hi,

Even I specifically mentioned "white" as background color of all
ASP:TextBoxes of my form, Some of them come up with yellow background.

I guess it should be kind of ASP.NET behaviour, but I don't know what
exactly it means.

What is the meaning of that yellow BG color of ASP:TextBoxes ? How can I
have control over it?

Here is a sample of textbox that comes up with yellow BG color:

<asp:TextBox id=txtPhone runat="server" MaxLength="10"
BackColor="White"></asp:TextBox>
<asp:RegularExpressionValidator id=RegularExpressionValidator1
runat="server" ErrorMessage="Invalid Phone Number!"
ControlToValidate="txtPhone" EnableClientScript="False"
ValidationExpression="^\d{10,10}$">*</asp:RegularExpressionValidator>
And here is a sample of another text box which comes up with white BG:

<asp:TextBox id=txtLastName runat="server" MaxLength="20"
BackColor="White"></asp:TextBox>
<asp:RegularExpressionValidator id=vName runat="server"
ErrorMessage="Invalid Last Name!" ControlToValidate="txtLastName"
EnableClientScript="False"
ValidationExpression="^[a-zA-Z ]{0,20}$">*</asp:RegularExpressionValidator>
Thanks,
Alan
Nov 18 '05 #1
3 3602
I bet you have the google toolbar installed - this has an auto fill feature
which can auto fill data for you. By default, fields that the toolbar thinks
it can auto fill for you (which it determines I think by the name of the
input control) are made yellow.

I think if you go under options, you can turn off highlighting of fields
that autofill can use.

"A.M" <no*****@online.nospam> wrote in message
news:u8**************@TK2MSFTNGP11.phx.gbl...
Hi,

Even I specifically mentioned "white" as background color of all
ASP:TextBoxes of my form, Some of them come up with yellow background.

I guess it should be kind of ASP.NET behaviour, but I don't know what
exactly it means.

What is the meaning of that yellow BG color of ASP:TextBoxes ? How can I
have control over it?

Here is a sample of textbox that comes up with yellow BG color:

<asp:TextBox id=txtPhone runat="server" MaxLength="10"
BackColor="White"></asp:TextBox>
<asp:RegularExpressionValidator id=RegularExpressionValidator1
runat="server" ErrorMessage="Invalid Phone Number!"
ControlToValidate="txtPhone" EnableClientScript="False"
ValidationExpression="^\d{10,10}$">*</asp:RegularExpressionValidator>
And here is a sample of another text box which comes up with white BG:

<asp:TextBox id=txtLastName runat="server" MaxLength="20"
BackColor="White"></asp:TextBox>
<asp:RegularExpressionValidator id=vName runat="server"
ErrorMessage="Invalid Last Name!" ControlToValidate="txtLastName"
EnableClientScript="False"
ValidationExpression="^[a-zA-Z ]{0,20}$">*</asp:RegularExpressionValidator>

Thanks,
Alan

Nov 18 '05 #2
you most likely have a google toobar installed.... it like to color in the
auto fill boxes......

"A.M" <no*****@online.nospam> wrote in message
news:u8**************@TK2MSFTNGP11.phx.gbl...
Hi,

Even I specifically mentioned "white" as background color of all
ASP:TextBoxes of my form, Some of them come up with yellow background.

I guess it should be kind of ASP.NET behaviour, but I don't know what
exactly it means.

What is the meaning of that yellow BG color of ASP:TextBoxes ? How can I
have control over it?

Here is a sample of textbox that comes up with yellow BG color:

<asp:TextBox id=txtPhone runat="server" MaxLength="10"
BackColor="White"></asp:TextBox>
<asp:RegularExpressionValidator id=RegularExpressionValidator1
runat="server" ErrorMessage="Invalid Phone Number!"
ControlToValidate="txtPhone" EnableClientScript="False"
ValidationExpression="^\d{10,10}$">*</asp:RegularExpressionValidator>
And here is a sample of another text box which comes up with white BG:

<asp:TextBox id=txtLastName runat="server" MaxLength="20"
BackColor="White"></asp:TextBox>
<asp:RegularExpressionValidator id=vName runat="server"
ErrorMessage="Invalid Last Name!" ControlToValidate="txtLastName"
EnableClientScript="False"
ValidationExpression="^[a-zA-Z ]{0,20}$">*</asp:RegularExpressionValidator>

Thanks,
Alan

Nov 18 '05 #3
A.M
Ah, Thank you very much guys!!
That problem Killed me and I couldn't figure that out!!

Thanks Again!

"A.M" <no*****@online.nospam> wrote in message
news:u8**************@TK2MSFTNGP11.phx.gbl...
Hi,

Even I specifically mentioned "white" as background color of all
ASP:TextBoxes of my form, Some of them come up with yellow background.

I guess it should be kind of ASP.NET behaviour, but I don't know what
exactly it means.

What is the meaning of that yellow BG color of ASP:TextBoxes ? How can I
have control over it?

Here is a sample of textbox that comes up with yellow BG color:

<asp:TextBox id=txtPhone runat="server" MaxLength="10"
BackColor="White"></asp:TextBox>
<asp:RegularExpressionValidator id=RegularExpressionValidator1
runat="server" ErrorMessage="Invalid Phone Number!"
ControlToValidate="txtPhone" EnableClientScript="False"
ValidationExpression="^\d{10,10}$">*</asp:RegularExpressionValidator>
And here is a sample of another text box which comes up with white BG:

<asp:TextBox id=txtLastName runat="server" MaxLength="20"
BackColor="White"></asp:TextBox>
<asp:RegularExpressionValidator id=vName runat="server"
ErrorMessage="Invalid Last Name!" ControlToValidate="txtLastName"
EnableClientScript="False"
ValidationExpression="^[a-zA-Z ]{0,20}$">*</asp:RegularExpressionValidator>

Thanks,
Alan

Nov 18 '05 #4

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

Similar topics

8
by: michaaal | last post by:
I know this isn't really an ASP question, but I thought you guys might know the answer being that you work with textboxes alot. All of a sudden about 50% of my textboxes are yellow (as opposed to...
2
by: Dave Vinell | last post by:
Hi, try the following HTML - it displays the text and a text box with a white background as expected. Now, change "Customer ame" to "Customer Name" or even "CustomerName", and the text entry box...
1
by: kvrdev1 | last post by:
On one page of my web application, some of the text boxes/combo boxes are appearing with a Yellow background. Within ASP.NET, I've deleted them and put new controls on the screen, and it then...
1
by: Deano | last post by:
Don't know if any of you chaps use www.basecamphq.com (a smart project management tool) but when you post a message up the entire post is highlighted in yellow, then fades until its disappears and...
4
by: Child | last post by:
I want all of these to have a white background, but even if i set the property, some remain yellow. If i give them all the same class they take on the correct border, the correct fonts, etc, but...
3
by: sakhan | last post by:
Hello Friends, I want to create a row of 10 textboxes each time I click the add button. I want this to continue till it reaches five hundred I am using AJAX for this. It doesnot create 10...
4
by: cover | last post by:
I've noticed in my forms, a yellow background only in the first text boxes. I might have pull down menus above or below the text box (and even more than one text box), but it's always the first...
7
by: Tina | last post by:
When my web pages display in my I.E. 7 Browser there are apparent random background colors in the textboxes - mostly yellow, sometimes green, some are white. This does not happen using firefox. ...
3
by: Greg Smith | last post by:
I am building my first ASP application using vs2008 on a system running Vista Enterprise. My main from has a lot of TextBoxes. When I run the application some of the TextBoxes have a yellow...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.