Advertisement

07.17.2008 at 05:36PM PDT, ID: 23575438
[x]
Attachment Details

textbox size at runtime

Asked by pikarde822 in Programming for ASP.NET

Tags: ASP/VB .NET

Hi...
im working on a project ive tried couple of things to do the work but none of them work really the way i want them to so...

i was wondering if u could set a textbox's height based on the number of characters or something, wha tim trying to say is,  i have a multiline textbox with the scrollbar disabled, however i want the textbox to display multilined stuff without having to scroll and without setting a definite size, the textbox adjusts its height (only height, width is static) based on the string being displayed without anything being outside the size of the textbox which would cause the user to scroll
ive tried setting the textbox height="100%" however when i place it in a div tag and display the page, since the div tag has a height of auto it will not change unless something if oversize, and the textbox will not expand the div tag because it uses percentile to fill it up... so there is a bit of conflict going on

if anyone could help me, much appreciated...Start Free Trial
[+][-]07.17.2008 at 06:10PM PDT, ID: 22031904

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 06:15PM PDT, ID: 22031944

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 06:17PM PDT, ID: 22031961

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Tags: ASP/VB .NET
Sign Up Now!
Solution Provided By: lakshmidurga
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628