Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 30th, 2003, 10:49 PM
Registered User
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Textbox control style

I'm doing a very simple asp.net application and I have found that when putting multiple text boxes on a page that some will show up as white/flat and others as yellow/3D. I am pulling my hair out trying to figure out why. The code for all the text boxes is below. The txtFirst, txtLast, txtCompany and txtTitle textboxes are showing up white and flat. The txtAsstFirst, txtAsstLast and txtAsstPhone textboxes are showing up yellow and 3D. When I look at this page in the IDE they all show up as white and flat. Does anyone know why? Please help!!!!
<asp:textbox id="txtCompany" style="Z-INDEX: 103; LEFT: 69px; POSITION: absolute; TOP: 278px" tabIndex="3" runat="server" Font-Names="calisto mt" Height="28px" Width="572px"></asp:textbox>
<asp:textbox id="txtLast" style="Z-INDEX: 105; LEFT: 334px; POSITION: absolute; TOP: 223px" tabIndex="2" runat="server" Font-Names="calisto mt" Height="28px" Width="307px"></asp:textbox>
<asp:textbox id="txtFirst" style="Z-INDEX: 104; LEFT: 68px; POSITION: absolute; TOP: 223px" tabIndex="1" runat="server" Font-Names="calisto mt" Height="28px" Width="227px"></asp:textbox>
<asp:TextBox id="txtTitle" tabIndex="4" runat="server" Font-Names="calisto mt" Height="28px" Width="572px"></asp:TextBox>
<asp:TextBox id="txtAsstFirst" tabIndex="5" runat="server" Font-Names="Calisto MT" Height="28px" Width="285px"></asp:TextBox>
<asp:TextBox id="txtAsstLast" tabIndex="6" runat="server" Font-Names="Calisto MT" Height="28px" Width="285px"></asp:TextBox>
<asp:TextBox id="txtAsstPhone" tabIndex="7" runat="server" Font-Names="Calisto MT" Height="28px" Width="285px"></asp:TextBox>

Todd Becker
Software Development Supervisor
Las Vegas Convention and Visitors Authority
Las Vegas, NV
 
Old September 2nd, 2003, 08:47 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

There is nothing in your pasted code that looks like it would cause this to happen.
- Can you try viewing this in another browser?
- Do you have some stylesheet associated with the page?
- Do you have the current Google toolbar installed?

Peter
 
Old September 2nd, 2003, 12:25 PM
Registered User
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I haven't tried it in another type or version of a browser but I have tried it on someone else's browser and it does the same thing. I have no special CSS associated with the project but I do have the Google toolbar installed. I looked at the options and found the "Automatically highlight fields that Autofill can fill" option was checked. I removed it and that solved it! Thanks for your help!

Todd



Quote:
quote:Originally posted by planoie
 There is nothing in your pasted code that looks like it would cause this to happen.
- Can you try viewing this in another browser?
- Do you have some stylesheet associated with the page?
- Do you have the current Google toolbar installed?

Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing tab control style at runtime. John Deutsch Access VBA 2 October 19th, 2007 12:01 PM
outlook style appointment control help, thanks! raybristol C# 0 January 17th, 2006 11:39 PM
To get each textbox control in C# JelfMaria VS.NET 2002/2003 2 June 29th, 2005 12:03 AM
style attribue of a textbox crmpicco HTML Code Clinic 1 January 24th, 2005 09:38 AM
HyperLink web server control style acko ASP.NET 1.0 and 1.1 Basics 2 November 14th, 2003 02:55 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.