Re: Problem with TextBox control in DotNet 1.1

"Shawn Wildermuth (MVP)" <[email protected]> Mon, 25 Jun 2007 14:24:16 -0400
Newsgroups gmane.comp.windows.devel.dotnet.web
Message-ID <[email protected]>
For most of the bugs like these there are two things you'll need:

- A good reference to the differences between the browsers (I used to use an
O'Reilly book on HTML, but not sure what's the best book any longer).
- Spend a lot of time in "View Source".  Look to see what ASP.NET is
generating in FF and IE and see what is different.  Where possible, changing
the behavior to a CSS style tends to work on FF and Opera the same as
IE...but implicit tag attributes tend to differ though I am no expert.

Thanks,

Shawn Wildermuth
http://adoguy.com
http://wildermuthconsulting.com
Microsoft MVP (C#), MCSD.NET, Author and Speaker


-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Hevel, Shawn
Sent: Monday, June 25, 2007 2:21 PM
To: [email protected]
Subject: Re: [DOTNET-WEB] Problem with TextBox control in DotNet 1.1

Thanks for the input.  I got it to work using the following way:

<asp:textbox id="tbSpecialInstructions" runat="server" TextMode="MultiLine"
Wrap="True" Columns="60" Rows="5"></asp:textbox>

The situation arises now with FireFox that the information doesn't wrap.
When I get to the 60th character it continues on and doesn't ever wrap.
Again, it works fine in IE7 and the information wraps at the 60th character
and each 60th character there after.

Any clues on making the wrap feature work in FireFox?



Our vision is to develop an environment that will stimulate the
transformation of data and information into knowledge and wisdom.  Our
mission is to stay focused on the plans and goals with a sense of urgency
necessary to improve the company's profitability and market share.
Shawn Hevel, API, AIT
Lead Programmer Analyst
Information Technology Department
South Carolina Farm Bureau Insurance Companies
Phone: (803) 936-4331
Fax: (803) 936-4629
Work Email: [email protected]
Home Email: [email protected]


-----Original Message-----
From: Shawn Wildermuth (MVP) [mailto:[email protected]] 
Sent: Monday, June 25, 2007 2:05 PM
To: [email protected]
Subject: Re: [DOTNET-WEB] Problem with TextBox control in DotNet 1.1

If you remove the Width and Height and use a style="" tag you might have
better luck (additional attributes in the tag are preserved).  In your case,
style="width: 450px;height: 48px".

Thanks,

Shawn Wildermuth
http://adoguy.com
http://wildermuthconsulting.com
Microsoft MVP (C#), MCSD.NET, Author and Speaker


-----Original Message-----
From: Discussion of building .NET applications targeted for the Web
[mailto:[email protected]] On Behalf Of Hevel, Shawn
Sent: Monday, June 25, 2007 1:29 PM
To: [email protected]
Subject: [DOTNET-WEB] Problem with TextBox control in DotNet 1.1

I've got a textbox that is defined as follows:



<asp:textbox id="tbSpecialInstructions" runat="server" Width="450px"
Height="48px" TextMode="MultiLine"></asp:textbox>



It looks great in Internet Explorer (IE7), but in Firefox, it gets
shrunk down to a smaller size than that which is displayed in IE7 and in
the dotnet aspx page.



Does anyone know how to make this box appear the size that I've defined
in Firefox?



Thanks,



Our vision is to develop an environment that will stimulate the
transformation of data and information into knowledge and wisdom.  Our
mission is to stay focused on the plans and goals with a sense of
urgency necessary to improve the company's profitability and market
share.

Shawn Hevel, API, AIT
Lead Programmer Analyst
Information Technology Department
South Carolina Farm Bureau Insurance Companies
Phone: (803) 936-4331
Fax: (803) 936-4629
Work Email: [email protected]
Home Email: [email protected]



===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com