Solved

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

Posted on 2007-11-21
6
164 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

DevOps Toolchain Recommendations

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

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 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

15 Experts available now in Live!

Get 1:1 Help Now