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 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
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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. ...
|
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...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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,...
|
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...
|
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...
|
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...
| |