Solved

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

Posted on 2007-11-21
6
169 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

730 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