Solved

ASP.NET 2.0 - Text Box - 100% Width Does Not Work When Blank!

Posted on 2007-11-21
6
165 Views
Last Modified: 2013-11-26
Experts,
I have a text box that its width is set to 100%. If the text box is empty, it goes to a very minimized size! I need to do something like the one in this page EE Question Wizard text box (title for example) it is full width even when it's empty.

How?
0
Comment
Question by:feesu
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:Ashish Patel
ID: 20326491
put size property to something and try
0
 

Author Comment

by:feesu
ID: 20326494
My size property is already set to 100%
0
 
LVL 23

Expert Comment

by:Ashish Patel
ID: 20326561
not to 100% it should be in numbers like 35 to represent no of characters. Try putting size="35" and check
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 50 total points
ID: 20326627
set Width="100%"  and also set the Width for table , td , tr tags properly
0
 

Author Comment

by:feesu
ID: 20345204
It works for HTML input, but not for ASP text box.
0
 
LVL 23

Expert Comment

by:Ashish Patel
ID: 20348274
in asp text box there is a size property which you will have to set a value to like size="35" and not in % or px.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Flash (http://en.wikipedia.org/wiki/Adobe_Flash) has evolved over the years to where it has become a masterful tool for displaying content screen.  It has excellent layout placement, UI precision as well as rendering capabilities. This, along with t…
Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now